mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 07:55:56 +00:00
use xhrPost is even more places!
This commit is contained in:
@@ -2093,7 +2093,7 @@
|
||||
$sth = $pdo->prepare("SELECT access_key FROM ttrss_access_keys
|
||||
WHERE feed_id = ? AND is_cat = ?
|
||||
AND owner_uid = ?");
|
||||
$sth->execute([$feed_id, (int)$is_cat, $owner_uid]);
|
||||
$sth->execute([$feed_id, $is_cat, $owner_uid]);
|
||||
|
||||
if ($row = $sth->fetch()) {
|
||||
return $row["access_key"];
|
||||
@@ -2104,7 +2104,7 @@
|
||||
(access_key, feed_id, is_cat, owner_uid)
|
||||
VALUES (?, ?, ?, ?)");
|
||||
|
||||
$sth->execute([$key, $feed_id, (int)$is_cat, $owner_uid]);
|
||||
$sth->execute([$key, $feed_id, $is_cat, $owner_uid]);
|
||||
|
||||
return $key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user