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:58:03 +00:00
parent a22713db66
commit 91ebb2a443

View File

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