fix PHP 8.0 TypeError: Unsupported operand types: int + string

This commit is contained in:
Ralf Becker 2021-11-10 11:28:30 +01:00
parent a7e796a66b
commit dc24bb7e37

View File

@ -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