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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user