X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=include%2Ffunctions.php;h=21cf3fef8372c9094e3d7f6edf56b0f2c63b6a39;hb=0002e598f8367d6156e9bcd71af6b125902f5138;hp=459762d58ea7c4b2fac427f71aad0fc82abf23c1;hpb=bf6db17b8f5c55ee2614abbde007f41025152ec7;p=tt-rss.git 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) {