diff options
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/ItemMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/ItemMapper.php b/lib/Db/ItemMapper.php index 6c804c6ac..f8cc9c4fb 100644 --- a/lib/Db/ItemMapper.php +++ b/lib/Db/ItemMapper.php @@ -523,7 +523,7 @@ class ItemMapper extends NewsMapper */ public function findAllShared($limit, $offset, $showAll, $oldestFirst, $userId, $search) { - $sql = 'SELECT `*` FROM `*PREFIX*news_items`' . + $sql = 'SELECT `items`.* FROM `*PREFIX*news_items` `items`' . 'WHERE `shared_with` = ? '; $sql .= $this->buildStatusQueryPart($showAll); |