summaryrefslogtreecommitdiffstats
path: root/db/itemmapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/itemmapper.php')
-rw-r--r--db/itemmapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/itemmapper.php b/db/itemmapper.php
index b1763ed6a..41c2a6975 100644
--- a/db/itemmapper.php
+++ b/db/itemmapper.php
@@ -242,7 +242,7 @@ class ItemMapper extends NewsMapper {
'FROM `*PREFIX*news_items` `items` ' .
'JOIN `*PREFIX*news_feeds` `feeds` ' .
'ON `feeds`.`id` = `items`.`feed_id` ' .
- 'WHERE NOT ((`items`.`status` & ?) > 0) ' .
+ 'AND NOT ((`items`.`status` & ?) > 0) ' .
'GROUP BY `items`.`feed_id`, `feeds`.`articles_per_update` ' .
'HAVING COUNT(*) > ?';
$params = [$status, $threshold];