aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Clément <clement@selfhost.fr> 2017-02-25 10:20:35 +0100
committerGravatar Clément <clement@selfhost.fr> 2017-02-25 10:20:35 +0100
commit3684d201bda997fdbfd4460dae92100ee47dd7ef (patch)
tree820d753f57c1c5ce455cbb9a68332be681fe5882 /app/Models/EntryDAO.php
parent2d097bc855dbd1ad06c7c306c05e78a198209084 (diff)
parent30ba0753e3fbb7417766f72010c7dd700567bf64 (diff)
Merge remote-tracking branch 'FreshRSS/dev' into dev
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index 397471baa..afcde3d7f 100644
--- a/app/Models/EntryDAO.php
+++ b/app/Models/EntryDAO.php
@@ -649,7 +649,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
$values[] = intval($id);
break;
case 'A':
- $where .= '1 ';
+ $where .= '1=1 ';
break;
default:
throw new FreshRSS_EntriesGetter_Exception('Bad type in Entry->listByType: [' . $type . ']!');