summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-03 00:25:12 +0300
committerAndrew Dolgov <[email protected]>2017-12-03 00:25:12 +0300
commited5cd6eae58dabfb8fb3c6bd846670f064c2383e (patch)
treec5fec9ba54a733fa7fc59a42fde9576bf7070ab1 /include/functions.php
parent6cf3a5728235f9aa41de6d8af9d4535e30fdd86b (diff)
get_feed_access_key: param type bullshit
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index f88321ec9..7bf5460db 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2051,7 +2051,7 @@
$sth = $pdo->prepare("SELECT access_key FROM ttrss_access_keys
WHERE feed_id = ? AND is_cat = ?
AND owner_uid = ?");
- $sth->execute([$feed_id, $is_cat, $owner_uid]);
+ $sth->execute([$feed_id, (int)$is_cat, $owner_uid]);
if ($row = $sth->fetch()) {
return $row["access_key"];