mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
Calendar - fix warning "Cannot use a scalar value as an array" when saving new event with default alarm
This commit is contained in:
parent
b475edc7a2
commit
383b15355c
@ -337,7 +337,9 @@ class calendar_uiforms extends calendar_ui
|
||||
else
|
||||
{
|
||||
$content['alarm'][1]['offset'] = $offset = 60 * $def_alarm;
|
||||
$content['start'] = $this->bo->date2array($content['start']);
|
||||
$content['start'][1]['offset'] = $this->bo->date2ts($content['start']) - $offset;
|
||||
$content['start'] = $this->bo->date2ts($content['start']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user