mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 09:58:16 +01:00
Check to see if the value is a string before we try to lowercase it, strtolower() doesn't like arrays.
This commit is contained in:
parent
76faf17eb0
commit
66bb41b065
@ -275,7 +275,7 @@
|
|||||||
// sometimes it sends 'null' (not null)
|
// sometimes it sends 'null' (not null)
|
||||||
if($row == 'null') {
|
if($row == 'null') {
|
||||||
unset($query[$key]);
|
unset($query[$key]);
|
||||||
} elseif (strtolower($row) == 'false') {
|
} elseif (is_string($row) && strtolower($row) == 'false') {
|
||||||
$row = false;
|
$row = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user