diff options
| author | 2015-02-22 17:38:33 -0500 | |
|---|---|---|
| committer | 2015-02-22 17:38:33 -0500 | |
| commit | e897afa7ccb2c625705bce25c003d9cf37179227 (patch) | |
| tree | 01a4c25e7e22b30b2099cf84b2031bad2f9a9566 /app/Models/EntryDAO.php | |
| parent | 74c020edc846d0afdecb05ae1e1f30a516dee002 (diff) | |
Change test to verify if there is a filter
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index 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()}%"; |
