4
0
Эх сурвалжийг харах

Change test to verify if there is a filter

Alexis Degrugillier 11 жил өмнө
parent
commit
e897afa7cc

+ 1 - 1
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()}%";