mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +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
e578e64926
commit
c8f4fda1be
@ -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