fixed wrong total in search, if there are not to show rejected events

This commit is contained in:
Ralf Becker 2007-10-09 08:00:42 +00:00
parent 336784d74e
commit 49ed423e86

View File

@ -362,6 +362,7 @@ class bocal
if ($remove_rejected_by_user && $event['participants'][$remove_rejected_by_user] == 'R') if ($remove_rejected_by_user && $event['participants'][$remove_rejected_by_user] == 'R')
{ {
unset($events[$id]); // remove the rejected event unset($events[$id]); // remove the rejected event
$this->total--;
continue; continue;
} }
if ($params['enum_groups'] && $this->enum_groups($event)) if ($params['enum_groups'] && $this->enum_groups($event))