mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +01:00
fix calendar_groupdav::isParticipant() called with NULL, caused by recurring event starts in future behind horizont
This commit is contained in:
parent
af4373c307
commit
d50383b1aa
@ -659,6 +659,11 @@ class calendar_groupdav extends groupdav_handler
|
||||
break;
|
||||
}
|
||||
}
|
||||
// if recurring event starts in future behind horizont, nothing will be returned by bo::search()
|
||||
if (!isset($master) && !($master = $this->bo->read($uid)))
|
||||
{
|
||||
return array();
|
||||
}
|
||||
foreach($events as $k => &$recurrence)
|
||||
{
|
||||
//error_log(__FILE__.'['.__LINE__.'] '.__METHOD__."($uid)[$k]:" . array2string($recurrence));
|
||||
|
Loading…
Reference in New Issue
Block a user