mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +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;
|
$end = $start->format('ts') + 86399;
|
||||||
} else {
|
} else {
|
||||||
$start = $start->format('ts');
|
$start = $start->format('ts');
|
||||||
$end = $start + ($cal_info['duration']);
|
$end = $start + (int)$cal_info['duration'];
|
||||||
}
|
}
|
||||||
|
|
||||||
// search events matching our timestamps
|
// search events matching our timestamps
|
||||||
|
Loading…
Reference in New Issue
Block a user