From 39e3d199fc4a692ed34472d429f85d680f3b9362 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 13 Nov 2012 09:53:06 +0000 Subject: [PATCH] * Calendar: ignore (unchangeable) status of groups for setting line-type of events: all users of a group-invitation accepted --> solid line for all accepted --- calendar/inc/class.calendar_uiviews.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index 572250b740..8d5ae141a6 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -5,7 +5,7 @@ * @link http://www.egroupware.org * @package calendar * @author Ralf Becker - * @copyright (c) 2004-10 by RalfBecker-At-outdoor-training.de + * @copyright (c) 2004-12 by RalfBecker-At-outdoor-training.de * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @version $Id$ */ @@ -1759,6 +1759,8 @@ function open_edit(series) $status_class = 'calEventAllAccepted'; foreach($event['participants'] as $id => $status) { + if ($id < 0) continue; // as we cant accept/reject groups, we dont care about them here + calendar_so::split_status($status,$quantity,$role); switch ($status)