Skip to content

Commit

Permalink
Merge pull request #31859 from max65482/fix_group_share
Browse files Browse the repository at this point in the history
Fix: Birthday calendar issue with shared calendars
  • Loading branch information
miaulalala authored Feb 20, 2023
2 parents c550aca + 245351f commit 6bb0985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/DAV/Sharing/Backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function getShares(int $resourceId): array {
'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
];
}

Expand Down

0 comments on commit 6bb0985

Please sign in to comment.