mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:25:57 +00:00
get_feed_access_key: param type bullshit
This commit is contained in:
@@ -2051,7 +2051,7 @@
|
|||||||
$sth = $pdo->prepare("SELECT access_key FROM ttrss_access_keys
|
$sth = $pdo->prepare("SELECT access_key FROM ttrss_access_keys
|
||||||
WHERE feed_id = ? AND is_cat = ?
|
WHERE feed_id = ? AND is_cat = ?
|
||||||
AND owner_uid = ?");
|
AND owner_uid = ?");
|
||||||
$sth->execute([$feed_id, $is_cat, $owner_uid]);
|
$sth->execute([$feed_id, (int)$is_cat, $owner_uid]);
|
||||||
|
|
||||||
if ($row = $sth->fetch()) {
|
if ($row = $sth->fetch()) {
|
||||||
return $row["access_key"];
|
return $row["access_key"];
|
||||||
|
|||||||
Reference in New Issue
Block a user