mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 13:51:28 +00:00
getFeedCounters: pass parameter correctly to PDO
This commit is contained in:
@@ -85,7 +85,7 @@ class Counters {
|
|||||||
WHERE f.id = ue.feed_id AND ue.owner_uid = :uid
|
WHERE f.id = ue.feed_id AND ue.owner_uid = :uid
|
||||||
GROUP BY f.id");
|
GROUP BY f.id");
|
||||||
|
|
||||||
$sth->execute([$_SESSION['uid']]);
|
$sth->execute(["uid" => $_SESSION['uid']]);
|
||||||
|
|
||||||
while ($line = $sth->fetch()) {
|
while ($line = $sth->fetch()) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user