mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-11-29 01:51:00 +01:00
API: small fix
This commit is contained in:
parent
3467e1fd7c
commit
9652fa6b66
@ -298,7 +298,8 @@ class API extends Handler {
|
|||||||
|
|
||||||
if ($num_updated > 0 && $field == "unread") {
|
if ($num_updated > 0 && $field == "unread") {
|
||||||
$sth = $this->pdo->query("SELECT DISTINCT feed_id FROM ttrss_user_entries
|
$sth = $this->pdo->query("SELECT DISTINCT feed_id FROM ttrss_user_entries
|
||||||
WHERE ref_id IN ($article_ids)");
|
WHERE ref_id IN ($article_qmarks)");
|
||||||
|
$sth->execute($article_ids);
|
||||||
|
|
||||||
while ($line = $sth->fetch()) {
|
while ($line = $sth->fetch()) {
|
||||||
CCache::update($line["feed_id"], $_SESSION["uid"]);
|
CCache::update($line["feed_id"], $_SESSION["uid"]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user