mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +01:00
* CalDAV/Calendar: participants without status were not imported for new events (eg. from Thunderbird)
This commit is contained in:
parent
dc6f937f02
commit
32c9e1b6bb
@ -1499,8 +1499,6 @@ class calendar_ical extends calendar_boupdate
|
|||||||
if (!is_array($event['participants'])) $event['participants'] = array();
|
if (!is_array($event['participants'])) $event['participants'] = array();
|
||||||
$event['participants'][$event['owner']] = $status;
|
$event['participants'][$event['owner']] = $status;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
foreach ($event['participants'] as $uid => $status)
|
foreach ($event['participants'] as $uid => $status)
|
||||||
{
|
{
|
||||||
// if the client did not give us a proper status => set default
|
// if the client did not give us a proper status => set default
|
||||||
@ -1517,7 +1515,6 @@ class calendar_ical extends calendar_boupdate
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// update alarms depending on the given event type
|
// update alarms depending on the given event type
|
||||||
if (count($event['alarm']) > 0 || isset($this->supportedFields['alarm']) && isset($event['alarm']))
|
if (count($event['alarm']) > 0 || isset($this->supportedFields['alarm']) && isset($event['alarm']))
|
||||||
|
Loading…
Reference in New Issue
Block a user