1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:35:55 +00:00

more boolean fixes

This commit is contained in:
Andrew Dolgov
2017-12-02 14:13:16 +03:00
parent da9ea57d1c
commit ef83c69404

View File

@@ -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) {