From ed5cd6eae58dabfb8fb3c6bd846670f064c2383e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 3 Dec 2017 00:25:12 +0300 Subject: [PATCH] get_feed_access_key: param type bullshit --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index f88321ec..7bf5460d 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"]; -- 2.39.5