From 600c807dfd76c4231d7701a20e6263bfc6b14af7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 25 Dec 2006 12:42:16 +0000 Subject: [PATCH] fix for bug #21: Reject entry as part of group, entry still shown (should not) That's fixed now for the planner, cant reproduce that wrong behavior for the other views --- calendar/inc/class.uiviews.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.uiviews.inc.php b/calendar/inc/class.uiviews.inc.php index d4917d8d6d..397f0347a6 100644 --- a/calendar/inc/class.uiviews.inc.php +++ b/calendar/inc/class.uiviews.inc.php @@ -1357,7 +1357,8 @@ class uiviews extends uical { foreach($event['participants'] as $sort => $status) { - if (isset($sort2label[$sort])) + // only show if participant has not rejected or user wants to see rejections + if (isset($sort2label[$sort]) && ($status != 'R' || $this->bo->cal_prefs['show_rejected'])) { $rows[$sort][] =& $events[$key]; }