fix regression in cdav calendar widget
This commit is contained in:
parent
4b2bd871b7
commit
014b629928
@ -63,9 +63,10 @@ class Cdav {
|
||||
|
||||
$sharees = [];
|
||||
$share_displayname = [];
|
||||
|
||||
foreach($invites as $invite) {
|
||||
if(strpos($invite->href, 'mailto:') !== false) {
|
||||
$sharee = channelx_by_hash(substr($invite->href, 7));
|
||||
$sharee = channelx_by_nick(substr($invite->principal, 11));
|
||||
$sharees[] = [
|
||||
'name' => $sharee['channel_name'],
|
||||
'access' => (($invite->access == 3) ? ' (RW)' : ' (R)'),
|
||||
@ -173,4 +174,4 @@ class Cdav {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user