mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
* CalDAV: fixed PHP Fatal Error when iCal contains invalid participant url like Lighttnings "invalid:noemail"
This commit is contained in:
parent
accb0137a5
commit
d1247d6c5f
@ -891,7 +891,10 @@ class groupdav_principals extends groupdav_handler
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->groupdav->log(__METHOD__."('$url') unsupported principal URL '$url'!");
|
||||
if (isset($GLOBALS['groupdav']) && is_a($GLOBALS['groupdav'],'groupdav'))
|
||||
{
|
||||
$GLOBALS['groupdav']->log(__METHOD__."('$url') unsupported principal URL '$url'!");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return $uid && in_array($type, $only_type) ? $uid : false;
|
||||
|
Loading…
Reference in New Issue
Block a user