From 215601345433eea2023f8702870c553178c7d65c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 29 Sep 2015 07:32:19 +0000 Subject: [PATCH] fix warning if there are no participants --- calendar/inc/class.calendar_boupdate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index a0868d77c3..d543b641ab 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -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) {