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 - EGroupware\Api\DateTime
This commit is contained in:
parent
3655619b43
commit
986944c261
@ -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