mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix iCal export of incomplete events again .-(
This commit is contained in:
parent
b470f52e99
commit
fe5d9f305b
@ -244,9 +244,8 @@ class calendar_ical extends calendar_boupdate
|
||||
$recurrence = $this->date2usertime($recur_date);
|
||||
$tzid = null;
|
||||
|
||||
if (is_array($event) && empty($event['tzid'])) $event = $event['id'];
|
||||
|
||||
if (!($event = $this->read($event, $recurrence, false, 'server')))
|
||||
if ((!is_array($event) || empty($event['tzid']) && ($event = $event['id'])) &&
|
||||
!($event = $this->read($event, $recurrence, false, 'server')))
|
||||
{
|
||||
if ($this->read($event, $recurrence, true, 'server'))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user