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
This commit is contained in:
Ralf Becker 2006-12-25 12:42:16 +00:00
parent 9172cf3fa9
commit 600c807dfd

View File

@ -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];
}