]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
checkbox to sql bool related changes, some more boolean fixes
[tt-rss.git] / include / functions.php
index 0b301b82e0f3b34faed5320503c125a4b255d979..887de1c8110e9bcd69afb4d9d0a03e9abac4d8a6 100644 (file)
        }
 
        function checkbox_to_sql_bool($val) {
-               return ($val == "on") ? "true" : "false";
+               return ($val == "on") ? true : false;
        }
 
        function uniqid_short() {