A free, self-hostable news aggregator…
Change test to verify if there is a filter
Alexis Degrugilliere897afa7ccb2
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.phpindex 0cf4e1367..d2a8e0fd9 100644--- a/app/Models/EntryDAO.php+++ b/app/Models/EntryDAO.php@@ -441,7 +441,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {$where .= 'AND e1.id >= ' . $date_min . '000000 ';}$search = '';- if ($filter instanceof FreshRSS_Search) {+ if ($filter !== null) {if ($filter->getIntitle()) {$search .= 'AND e1.title LIKE ? ';$values[] = "%{$filter->getIntitle()}%";