1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 10:25:56 +00:00

properly allow false parameters passed through to API calls (refs #576)

This commit is contained in:
Andrew Dolgov
2013-03-17 21:04:16 +04:00
parent 95d40d8546
commit 9955a13462
2 changed files with 10 additions and 10 deletions

View File

@@ -852,7 +852,7 @@
}
function sql_bool_to_bool($s) {
if ($s == "t" || $s == "1" || $s == "true") {
if ($s == "t" || $s == "1" || strtolower($s) == "true") {
return true;
} else {
return false;