]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
auth_internal: use PDO + other fixes
[tt-rss.git] / include / functions.php
index 1d7033c899b46e773d4677a4df9c62947b3630b1..f88321ec9844ac490387981595e9483e16439795 100644 (file)
                                        (access_key, feed_id, is_cat, owner_uid)
                                        VALUES (?, ?, ?, ?)");
 
-                       $sth->execute([$key, $feed_id, $is_cat, $owner_uid]);
+                       $sth->execute([$key, $feed_id, (int)$is_cat, $owner_uid]);
 
                        return $key;
                }