diff options
author | Andrew Dolgov <[email protected]> | 2017-12-02 14:13:16 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-12-02 14:13:16 +0300 |
commit | ef83c69404278876edb61a710e42697dcc43644f (patch) | |
tree | 2939862d4b26bdfd52e70c693db4d99e4c37eb91 /include/functions.php | |
parent | da9ea57d1c1602899111df615639d9f013f7226f (diff) |
more boolean fixes
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 887de1c81..6637bd5d1 100644 --- a/include/functions.php +++ b/include/functions.php @@ -941,7 +941,7 @@ } function sql_bool_to_bool($s) { - return $s; //no-op for PDO + return $s && ($s != "f" && $s != "false"); //no-op for PDO, backwards compat for legacy layer } function bool_to_sql_bool($s) { |