mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02:00
fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given
This commit is contained in:
parent
65ebea136e
commit
efa66b72fc
@ -1226,7 +1226,7 @@ class calendar_groupdav extends Api\CalDAV\Handler
|
|||||||
$xml->startDocument('1.0', 'UTF-8');
|
$xml->startDocument('1.0', 'UTF-8');
|
||||||
$xml->startElementNs('C', 'schedule-response', Api\CalDAV::CALDAV);
|
$xml->startElementNs('C', 'schedule-response', Api\CalDAV::CALDAV);
|
||||||
|
|
||||||
foreach(array_keys($event['participants']) as $uid)
|
foreach(array_keys($event['participants'] ?? []) as $uid)
|
||||||
{
|
{
|
||||||
$xml->startElementNs('C', 'response', null);
|
$xml->startElementNs('C', 'response', null);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user