Do not break if update doesn't have remote_event

This commit is contained in:
Mateusz Kijowski 2024-04-08 04:48:02 +02:00
parent aaee300d0d
commit a247df970b

View file

@ -2230,6 +2230,12 @@ else {
foreach($updates as $update)
{
if(is_null($update['remote_event'])
{
self::debug_log("No remote_event in update: ".print_r($update, true));
continue;
}
if($update['remote_event']['allday'])
{
//caldav has exclusive end dates set to midnight of the next day.