mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix calendar_bo::search() issue with events outside the search window (bug#8090)
This commit is contained in:
parent
2552476036
commit
32678401e8
@ -436,7 +436,7 @@ class calendar_bo
|
||||
//echo "<p align=right>remove_rejected_by_user=$remove_rejected_by_user, filter=$filter, params[users]=".print_r($param['users'])."</p>\n";
|
||||
foreach($events as $id => $event)
|
||||
{
|
||||
if (isset($start) && $event['start'] < $start)
|
||||
if (isset($start) && $event['end'] < $start)
|
||||
{
|
||||
unset($events[$id]); // remove former events (e.g. whole day)
|
||||
$this->total--;
|
||||
|
Loading…
Reference in New Issue
Block a user