aboutsummaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-07 14:01:05 +0200
committerGravatar GitHub <noreply@github.com> 2019-04-07 14:01:05 +0200
commit49013bf7163935f32e0cbe75c71d4add1b48a43b (patch)
tree2ba3824be468c0f3f3834b0f767ff170dfb27e87 /app/Models
parent8be28399efb5bcc779e687148613fe427593bfa4 (diff)
Cherry pick from 2335 (#2356)
Cherry pick bug fix from https://github.com/FreshRSS/FreshRSS/pull/2335 This code is currently not used.
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/EntryDAO.php2
1 files changed, 1 insertions, 1 deletions
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';