mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +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;
|
break;
|
||||||
|
|
||||||
default:
|
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 false;
|
||||||
}
|
}
|
||||||
return $uid && in_array($type, $only_type) ? $uid : false;
|
return $uid && in_array($type, $only_type) ? $uid : false;
|
||||||
|
Loading…
Reference in New Issue
Block a user