forked from extern/egroupware
* Calendar - fix recurring events were left out of merge from list
This commit is contained in:
parent
e8826ae69b
commit
4aef054ec9
@ -597,7 +597,8 @@ class calendar_uilist extends calendar_ui
|
|||||||
$this->get_rows($query,$events,$readonlys);
|
$this->get_rows($query,$events,$readonlys);
|
||||||
foreach($events as $key => $event)
|
foreach($events as $key => $event)
|
||||||
{
|
{
|
||||||
if (!in_array($event['id'],$checked) && !in_array($event['id'].':'.$event['recur_date'], $checked)) unset($events[$key]);
|
$recur_date = Api\DateTime::to($event['recur_date'],'ts');
|
||||||
|
if (!in_array($event['id'],$checked) && !in_array($event['id'].':'.$recur_date, $checked)) unset($events[$key]);
|
||||||
}
|
}
|
||||||
$checked = array_values($events); // Clear keys
|
$checked = array_values($events); // Clear keys
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user