From: Andrew Dolgov Date: Sat, 2 Dec 2017 19:39:34 +0000 (+0300) Subject: sql_bool_to_bool: backwards compat fix X-Git-Tag: 17.12~40 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0002e598f8367d6156e9bcd71af6b125902f5138;p=tt-rss.git sql_bool_to_bool: backwards compat fix --- diff --git a/include/functions.php b/include/functions.php index 459762d5..21cf3fef 100644 --- a/include/functions.php +++ b/include/functions.php @@ -941,7 +941,7 @@ } function sql_bool_to_bool($s) { - return $s && ($s != "f" && $s != "false"); //no-op for PDO, backwards compat for legacy layer + return $s && ($s !== "f" && $s !== "false"); //no-op for PDO, backwards compat for legacy layer } function bool_to_sql_bool($s) {