* Calendar/CalDAV: virtual exceptions (different status for recurrences) were not exported

This commit is contained in:
Ralf Becker 2020-01-07 18:31:25 +02:00
parent 0924b38acb
commit a9d07620d4

View File

@ -747,7 +747,7 @@ class calendar_groupdav extends Api\CalDAV\Handler
foreach($events as $k => &$recurrence) foreach($events as $k => &$recurrence)
{ {
//error_log(__FILE__.'['.__LINE__.'] '.__METHOD__."($uid)[$k]:" . array2string($recurrence)); //error_log(__FILE__.'['.__LINE__.'] '.__METHOD__."($uid)[$k]:" . array2string($recurrence));
if ($master && $recurrence['reference'] != $master['id']) if ($master && $recurrence['reference'] && $recurrence['reference'] != $master['id'])
{ {
unset($events[$k]); unset($events[$k]);
continue; // same uid, but references a different event or is own master continue; // same uid, but references a different event or is own master