forked from extern/egroupware
fix PHP 8.0 TypeError: Unsupported operand types: EGroupware\Api\DateTime - EGroupware\Api\DateTime
This commit is contained in:
parent
7020030c17
commit
16dc367b1e
@ -375,7 +375,7 @@ class calendar_boupdate extends calendar_bo
|
||||
}
|
||||
$checked = 0;
|
||||
$start = microtime(true);
|
||||
$duration = $event['end']-$event['start'];
|
||||
$duration = Api\DateTime::to($event['end'], 'ts') - Api\DateTime::to($event['start'], 'ts');
|
||||
foreach($recurences as $date)
|
||||
{
|
||||
$startts = $date->format('ts');
|
||||
|
Loading…
Reference in New Issue
Block a user