mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
fix PHP 8.0 error: Illegal offset type
when PUTint an all-day series
This commit is contained in:
parent
d343203c20
commit
a34c13fd94
@ -2706,6 +2706,11 @@ class calendar_ical extends calendar_boupdate
|
|||||||
break;
|
break;
|
||||||
case 'RECURRENCE-ID':
|
case 'RECURRENCE-ID':
|
||||||
case 'X-RECURRENCE-ID':
|
case 'X-RECURRENCE-ID':
|
||||||
|
if (is_array($attributes['value'])) // whole-day event recurrence-id is returned as array
|
||||||
|
{
|
||||||
|
$attributes['value'] = mktime(0, 0, 0,
|
||||||
|
$attributes['value']['month'], $attributes['value']['mday'], $attributes['value']['year']);
|
||||||
|
}
|
||||||
$vcardData['recurrence'] = $attributes['value'];
|
$vcardData['recurrence'] = $attributes['value'];
|
||||||
break;
|
break;
|
||||||
case 'LOCATION':
|
case 'LOCATION':
|
||||||
|
Loading…
Reference in New Issue
Block a user