summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/DAV/Sharing/Backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/DAV/Sharing/Backend.php')
-rw-r--r--apps/dav/lib/DAV/Sharing/Backend.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/DAV/Sharing/Backend.php b/apps/dav/lib/DAV/Sharing/Backend.php
index 71d2accb9cf..52fb21210f8 100644
--- a/apps/dav/lib/DAV/Sharing/Backend.php
+++ b/apps/dav/lib/DAV/Sharing/Backend.php
@@ -195,6 +195,7 @@ class Backend {
->from('dav_shares')
->where($query->expr()->eq('resourceid', $query->createNamedParameter($resourceId)))
->andWhere($query->expr()->eq('type', $query->createNamedParameter($this->resourceType)))
+ ->groupBy(['principaluri', 'access'])
->execute();
$shares = [];