From 7d960ce7e9af250648315b3d8e1574ebdb184a2e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 3 Dec 2017 00:18:08 +0300 Subject: auth_internal: use PDO + other fixes --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 1d7033c89..f88321ec9 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2062,7 +2062,7 @@ (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; } -- cgit v1.2.3