mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
7983a87f52
commit
aad7baa5c4
@ -212,7 +212,7 @@ class Perfdata
|
||||
|
||||
if ($this->maxValue !== null) {
|
||||
$minValue = $this->minValue !== null ? $this->minValue : 0;
|
||||
if ($this->maxValue - $minValue === 0.0) {
|
||||
if ((float) ($this->maxValue - $minValue) === 0.0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user