PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/controllers/states.php +2 -2 1.6.4 → 1.8.16 View file →
@@ -216,13 +216,13 @@
216 216 $app->close();
217 217 }
218 218
219 219 if (empty($pstate_3_code)) {
220 - $pstate_3_code = function_exists('mb_substr') ? mb_substr($pstate_name, 0, 3) : substr($pstate_name, 0, 3);
220 + $pstate_3_code = function_exists('mb_substr') ? mb_substr($pstate_name, 0, 3, 'UTF-8') : substr($pstate_name, 0, 3);
221 221 }
222 222
223 223 if (empty($pstate_2_code)) {
224 - $pstate_2_code = function_exists('mb_substr') ? mb_substr($pstate_name, 0, 2) : substr($pstate_name, 0, 2);
224 + $pstate_2_code = function_exists('mb_substr') ? mb_substr($pstate_name, 0, 2, 'UTF-8') : substr($pstate_name, 0, 2);
225 225 }
226 226
227 227 $set_state = new stdClass;
228 228 $set_state->id = $pid;