diff options
| author | 2015-05-24 01:49:13 +0200 | |
|---|---|---|
| committer | 2015-05-24 01:49:13 +0200 | |
| commit | 9d55ee5ae9e41fe460ff82b4d51bf1673fb1b836 (patch) | |
| tree | d402d9cd970d8adfdd075ec202fb629a1219d851 /app/Models/EntryDAO.php | |
| parent | 70384b3c996ca58b78a989fa31ff921753d3b3db (diff) | |
Bug EntryDAO filter
https://github.com/FreshRSS/FreshRSS/issues/850
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 eae9683ad..f939a0fb3 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -511,7 +511,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable { $where .= 'AND e1.id >= ' . $date_min . '000000 '; } $search = ''; - if ($filter !== null) { + if ($filter) { if ($filter->getIntitle()) { $search .= 'AND e1.title LIKE ? '; $values[] = "%{$filter->getIntitle()}%"; |
