Skip to content

Commit 6bb0985

Browse files
authored
Merge pull request #31859 from max65482/fix_group_share
Fix: Birthday calendar issue with shared calendars
2 parents c550aca + 245351f commit 6bb0985

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/DAV/Sharing/Backend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function getShares(int $resourceId): array {
184184
'status' => 1,
185185
'readOnly' => (int) $row['access'] === self::ACCESS_READ,
186186
'{http://owncloud.org/ns}principal' => (string)$row['principaluri'],
187-
'{http://owncloud.org/ns}group-share' => is_null($p)
187+
'{http://owncloud.org/ns}group-share' => isset($p['uri']) ? str_starts_with($p['uri'], 'principals/groups') : false
188188
];
189189
}
190190

0 commit comments

Comments
 (0)