mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:49:10 +01:00
fix PHP 8.0 TypeError: Unsupported operand types: int + string
This commit is contained in:
parent
202d8ffc4d
commit
b09536c67f
@ -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