forked from extern/egroupware
fix warning if there are no participants
This commit is contained in:
parent
1d2d9e2478
commit
2156013454
@ -1222,7 +1222,7 @@ class calendar_boupdate extends calendar_bo
|
||||
if ($updateTS) $GLOBALS['egw']->contenthistory->updateTimeStamp('calendar', $cal_id, $event['id'] ? 'modify' : 'add', $this->now);
|
||||
|
||||
// create links for new participants from addressbook, if configured
|
||||
if ($cal_id && $GLOBALS['egw_info']['server']['link_contacts'])
|
||||
if ($cal_id && $GLOBALS['egw_info']['server']['link_contacts'] && $event['participants'])
|
||||
{
|
||||
foreach($event['participants'] as $uid => $status)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user