diff options
author | Maximilian Martin <maximilian_martin@gmx.de> | 2023-01-20 11:06:48 +0100 |
---|---|---|
committer | Maximilian Martin <maximilian_martin@gmx.de> | 2023-02-20 10:10:17 +0100 |
commit | 245351fdae50a4f7890c475cd9481332900911df (patch) | |
tree | 0e46637f36b6db01fa566efb93f72bce2ad4bf1c /apps/dav | |
parent | bba3a1ccf0b41ee212cfb43ceee2b20e66904654 (diff) | |
download | nextcloud-server-245351fdae50a4f7890c475cd9481332900911df.tar.gz nextcloud-server-245351fdae50a4f7890c475cd9481332900911df.zip |
assign group share value
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
Diffstat (limited to 'apps/dav')
-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 ]; } |