summaryrefslogtreecommitdiffstats
path: root/lib/Db/ItemMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Db/ItemMapper.php')
-rw-r--r--lib/Db/ItemMapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/ItemMapper.php b/lib/Db/ItemMapper.php
index 92993bdba..8b5f42815 100644
--- a/lib/Db/ItemMapper.php
+++ b/lib/Db/ItemMapper.php
@@ -550,7 +550,7 @@ class ItemMapper extends NewsMapper
{
$sql = 'SELECT COUNT(*) AS size FROM `*PREFIX*news_items` `items` ' .
'WHERE `items`.`shared_with` = ? ' .
- 'AND `items`.`unread` = `1`';
+ 'AND `items`.`unread` = 1';
$params = [$userId];