summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna <anna@nextcloud.com>2023-02-20 11:27:00 +0100
committerGitHub <noreply@github.com>2023-02-20 11:27:00 +0100
commit6bb0985e59d7ba3c4cf9928d8bb766ac9975cd12 (patch)
treeec5856c01d07cea51cb8c17073e4d6168a1aa757
parentc550acae6232dea20ecc2c2b231b0ee9075a99e7 (diff)
parent245351fdae50a4f7890c475cd9481332900911df (diff)
downloadnextcloud-server-6bb0985e59d7ba3c4cf9928d8bb766ac9975cd12.tar.gz
nextcloud-server-6bb0985e59d7ba3c4cf9928d8bb766ac9975cd12.zip
Merge pull request #31859 from max65482/fix_group_share
Fix: Birthday calendar issue with shared calendars
-rw-r--r--apps/dav/lib/DAV/Sharing/Backend.php2
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
];
}