mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
TimeLine: Always parse int
to validateTime()
Php < 8.1 converts fetched time(stamp) to string. This must always be an int.
This commit is contained in:
parent
c40cfb41a8
commit
ea1e5f9245
@ -382,7 +382,7 @@ class TimeLine implements IteratorAggregate
|
||||
return array_filter(
|
||||
$this->resultset,
|
||||
function ($e) use ($range) {
|
||||
return $range->validateTime($e->time);
|
||||
return $range->validateTime((int) $e->time);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user