1
0
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:
Andrew Dolgov
2018-11-30 09:23:51 +03:00
parent 3ad9944d5e
commit fc0a3050eb
3 changed files with 257 additions and 325 deletions

View File

@@ -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;
}