mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
* Calendar - fix recurring events were left out of merge from list
This commit is contained in:
parent
e60d061183
commit
78ddd31b71
@ -600,7 +600,8 @@ class calendar_uilist extends calendar_ui
|
||||
$this->get_rows($query,$events,$readonlys);
|
||||
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user