| @@ -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 | } |