From: Andrew Dolgov Date: Sat, 2 Dec 2017 11:13:16 +0000 (+0300) Subject: more boolean fixes X-Git-Tag: 17.12~47 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ef83c69404278876edb61a710e42697dcc43644f;p=tt-rss.git more boolean fixes --- diff --git a/include/functions.php b/include/functions.php index 887de1c8..6637bd5d 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) {