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: int + string
This commit is contained in:
parent
a7e796a66b
commit
dc24bb7e37
@ -750,7 +750,7 @@ class resources_bo
|
||||
$end = $start->format('ts') + 86399;
|
||||
} else {
|
||||
$start = $start->format('ts');
|
||||
$end = $start + ($cal_info['duration']);
|
||||
$end = $start + (int)$cal_info['duration'];
|
||||
}
|
||||
|
||||
// search events matching our timestamps
|
||||
|
Loading…
Reference in New Issue
Block a user