diff --git a/calendar/inc/class.uiviews.inc.php b/calendar/inc/class.uiviews.inc.php index 94f241ba5d..acac37e3e1 100644 --- a/calendar/inc/class.uiviews.inc.php +++ b/calendar/inc/class.uiviews.inc.php @@ -1241,7 +1241,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]; }