forked from extern/egroupware
fixed wrong total in search, if there are not to show rejected events
This commit is contained in:
parent
336784d74e
commit
49ed423e86
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user