mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
quiten warning, if event has no alarms
This commit is contained in:
parent
745ef42e04
commit
97f92355fb
@ -1069,7 +1069,7 @@ class calendar_uiforms extends calendar_ui
|
||||
unset($event[$name]);
|
||||
}
|
||||
// add all alarms as new alarms to execption
|
||||
$event['alarm'] = array_values($event['alarm']);
|
||||
$event['alarm'] = array_values((array)$event['alarm']);
|
||||
foreach($event['alarm'] as &$alarm)
|
||||
{
|
||||
unset($alarm['uid'], $alarm['id'], $alarm['time']);
|
||||
|
Loading…
Reference in New Issue
Block a user