From b587bab7d1ec377c498a4955945bb24b7d78ab1a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 20 Mar 2009 08:17:54 +0000 Subject: [PATCH] "other docu update and removed an unnecessary (doublicate) condition" --- calendar/inc/class.calendar_boupdate.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 2231733fdb..cf1c578c84 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -100,7 +100,7 @@ class calendar_boupdate extends calendar_bo // if no owner given, set user to owner if (!$event['owner']) $event['owner'] = $this->user; // set owner as participant if none is given - if (!$event['id'] && (!is_array($event['participants']) || !count($event['participants']))) + if (!is_array($event['participants']) || !count($event['participants'])) { $event['participants'][$event['owner']] = 'U'; } @@ -285,7 +285,7 @@ class calendar_boupdate extends calendar_bo } /** - * Check for added, modified or deleted participants + * Check for added, modified or deleted participants AND notify them * * @param array $new_event the updated event * @param array $old_event the event before the update