Fix PHP8 warning

This commit is contained in:
Aleksander Machniak 2023-11-17 14:56:38 +01:00
parent 9eac16087d
commit 62be45e882

View file

@ -261,7 +261,7 @@ class libcalendaring_itip
}
}
else if ($method == 'CANCEL') {
if ($event['recurrence']) {
if (!empty($event['recurrence'])) {
unset($event['recurrence']['EXCEPTIONS']);
}
}