X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=include%2Ffunctions.php;h=e1e63c2a36f097584fbaf95b8c876a069b7ea36e;hb=76fc7a2d9c7e62c9d9c889ef08db017efb835902;hp=02d0416f8e863fe462cf76f42854eec11aa785cc;hpb=8e1450aa1533b59547dfd451e9c979d37eef3486;p=tt-rss.git diff --git a/include/functions.php b/include/functions.php index 02d0416f..e1e63c2a 100644 --- a/include/functions.php +++ b/include/functions.php @@ -956,7 +956,7 @@ } function bool_to_sql_bool($s) { - return (bool)$s; //no-op for PDO + return $s ? 1 : 0; } // Session caching removed due to causing wrong redirects to upgrade