fix typo causing PHP Fatal

This commit is contained in:
ralf 2024-06-06 14:19:49 +02:00
parent 02d0f8327b
commit 13ff2badd9

View File

@ -1306,7 +1306,7 @@ class calendar_ical extends calendar_boupdate
// if file contains no participants add current user
if (empty($event['participants']))
{
$event['participants'] = [$user => calendar_so::combine_status('A'));
$event['participants'] = [$user => calendar_so::combine_status('A')];
}
// if the client does not return a status, we restore the original one
foreach ($event['participants'] as $uid => $status)