From 49013bf7163935f32e0cbe75c71d4add1b48a43b Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 7 Apr 2019 14:01:05 +0200 Subject: Cherry pick from 2335 (#2356) Cherry pick bug fix from https://github.com/FreshRSS/FreshRSS/pull/2335 This code is currently not used. --- app/Models/EntryDAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/EntryDAO.php') diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index 93d1183c9..b47cd55ad 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -350,7 +350,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable { $sql .= $hasWhere ? ' AND' : ' WHERE'; $hasWhere = true; $sql .= ' f.id=?'; - $values[] = $id; + $values[] = $feedId; } if ($catId !== false) { $sql .= $hasWhere ? ' AND' : ' WHERE'; -- cgit v1.2.3