mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-22 19:24:34 -04:00
Change test to verify if there is a filter
This commit is contained in:
1 parent
74c020edc8
commit
e897afa7cc
1 file changed
+1
-1
@@ -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()}%";
|
||||
|
||||
Reference in new issue
Block a user