forked from extern/egroupware
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
|
else
|
||||||
{
|
{
|
||||||
$content['alarm'][1]['offset'] = $offset = 60 * $def_alarm;
|
$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'][1]['offset'] = $this->bo->date2ts($content['start']) - $offset;
|
||||||
|
$content['start'] = $this->bo->date2ts($content['start']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user