summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/migration/addressbookadapter.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/migration/addressbookadapter.php')
-rw-r--r--apps/dav/lib/migration/addressbookadapter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/migration/addressbookadapter.php b/apps/dav/lib/migration/addressbookadapter.php
index a86790d1f2a..ef7b00188fb 100644
--- a/apps/dav/lib/migration/addressbookadapter.php
+++ b/apps/dav/lib/migration/addressbookadapter.php
@@ -75,7 +75,7 @@ class AddressBookAdapter {
*/
public function getShares($addressBookId) {
$query = $this->dbConnection->getQueryBuilder();
- $shares = $query->select()->from('share')
+ $shares = $query->select('*')->from('share')
->where($query->expr()->eq('item_source', $query->createNamedParameter($addressBookId)))
->andWhere($query->expr()->eq('item_type', $query->expr()->literal('addressbook')))
->andWhere($query->expr()->in('share_type', [ $query->expr()->literal(0), $query->expr()->literal(1)]))