diff options
Diffstat (limited to 'apps/dav/lib/DAV/Sharing/Backend.php')
-rw-r--r-- | apps/dav/lib/DAV/Sharing/Backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/DAV/Sharing/Backend.php b/apps/dav/lib/DAV/Sharing/Backend.php index 90d2c7ebf82..7ba5ffd2700 100644 --- a/apps/dav/lib/DAV/Sharing/Backend.php +++ b/apps/dav/lib/DAV/Sharing/Backend.php @@ -184,7 +184,7 @@ class Backend { 'status' => 1, 'readOnly' => (int) $row['access'] === self::ACCESS_READ, '{http://owncloud.org/ns}principal' => (string)$row['principaluri'], - '{http://owncloud.org/ns}group-share' => is_null($p) + '{http://owncloud.org/ns}group-share' => isset($p['uri']) ? str_starts_with($p['uri'], 'principals/groups') : false ]; } |