mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
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