mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - int
This commit is contained in:
parent
1ad1c6e951
commit
30579b64a3
@ -928,7 +928,7 @@ class calendar_ical extends calendar_boupdate
|
||||
|
||||
if ($alarmData['offset'])
|
||||
{
|
||||
$alarmData['time'] = $event['start'] - $alarmData['offset'];
|
||||
$alarmData['time'] = Api\DateTime::to($event['start'], 'ts') - $alarmData['offset'];
|
||||
}
|
||||
|
||||
$description = trim(preg_replace("/\r?\n?\\[[A-Z_]+:.*\\]/i", '', $event['description']));
|
||||
|
Loading…
Reference in New Issue
Block a user