mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 21:08:54 +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
e8780bd64b
commit
e46aae67e0
@ -2989,7 +2989,7 @@ class calendar_ical extends calendar_boupdate
|
||||
// whole day events get one day in calendar_boupdate::save()
|
||||
if (!isset($event['end']))
|
||||
{
|
||||
$event['end'] = 60 * $this->cal_prefs['defaultlength'];
|
||||
$event['end'] = $event['start'] + 60 * $this->cal_prefs['defaultlength'];
|
||||
}
|
||||
|
||||
if ($this->calendarOwner) $event['owner'] = $this->calendarOwner;
|
||||
|
Loading…
Reference in New Issue
Block a user