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 | site/controller.php +1 -1 1.8.13 → 1.8.16 View file →
@@ -3280,9 +3280,9 @@
3280 3280 if (!in_array($detkey, $front_keys)) {
3281 3281 // push the key of the guest details for later comparison
3282 3282 array_push($front_keys, $detkey);
3283 3283 }
3284 - if (strlen($detval)) {
3284 + if (is_scalar($detval) && strlen($detval)) {
3285 3285 // push value only if not empty
3286 3286 if (!isset($guests_details[$ind])) {
3287 3287 $guests_details[$ind] = array();
3288 3288 }