Quellcode durchsuchen

Cherry pick from 2335 (#2356)

Cherry pick bug fix from https://github.com/FreshRSS/FreshRSS/pull/2335
This code is currently not used.
Alexandre Alapetite vor 7 Jahren
Ursprung
Commit
49013bf716
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/Models/EntryDAO.php

+ 1 - 1
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';