mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
* Calendar/iCal/CalDAV: if no end(-time) is given in iCal we use the default lenght from user prefs
This commit is contained in:
parent
521520b056
commit
dd4b566995
@ -2985,6 +2985,13 @@ class calendar_ical extends calendar_boupdate
|
|||||||
$event['recur_enddate'] = egw_time::to($last, 'server');
|
$event['recur_enddate'] = egw_time::to($last, 'server');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if no end is given in iCal we use the default lenght from user prefs
|
||||||
|
// whole day events get one day in calendar_boupdate::save()
|
||||||
|
if (!isset($event['end']))
|
||||||
|
{
|
||||||
|
$event['end'] = 60 * $this->cal_prefs['defaultlength'];
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->calendarOwner) $event['owner'] = $this->calendarOwner;
|
if ($this->calendarOwner) $event['owner'] = $this->calendarOwner;
|
||||||
|
|
||||||
if ($this->log)
|
if ($this->log)
|
||||||
|
Loading…
Reference in New Issue
Block a user