diff options
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/ItemMapper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Db/ItemMapper.php b/lib/Db/ItemMapper.php index 6a6f44725..0ff2ca036 100644 --- a/lib/Db/ItemMapper.php +++ b/lib/Db/ItemMapper.php @@ -151,6 +151,7 @@ class ItemMapper extends NewsMapper 'SELECT `id` FROM `*PREFIX*news_feeds` ' . 'WHERE `user_id` = ? ' . ') ' . + 'AND `shared_by` = \'\' ' . 'AND `id` <= ?'; $params = [false, $time, $userId, $highestItemId]; $this->execute($sql, $params); |