fix warning if there are no participants

This commit is contained in:
Ralf Becker 2015-09-29 07:31:45 +00:00
parent eef843185b
commit 17b9b5912e

View File

@ -1221,7 +1221,7 @@ class calendar_boupdate extends calendar_bo
}
// 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)
{