mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-13 03:51:01 +02:00
Merge branch 'upstream/pdo-experimental' of JustAMacUser/tt-rss into pdo-experimental
This commit is contained in:
commit
ab1960cf13
@ -297,7 +297,7 @@ class API extends Handler {
|
|||||||
$num_updated = $sth->rowCount();
|
$num_updated = $sth->rowCount();
|
||||||
|
|
||||||
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->prepare("SELECT DISTINCT feed_id FROM ttrss_user_entries
|
||||||
WHERE ref_id IN ($article_qmarks)");
|
WHERE ref_id IN ($article_qmarks)");
|
||||||
$sth->execute($article_ids);
|
$sth->execute($article_ids);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user