mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-06-09 16:50:00 -04:00
CheckStatistics: Don't attempt to visualize next checks..
..if both active and passive checks are disabled. fixes #930
This commit is contained in:
parent
012b3a1626
commit
05054904e0
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ SVG;
|
|||
$now = time();
|
||||
$executionTime = ($this->object->state->execution_time / 1000) + ($this->object->state->latency / 1000);
|
||||
|
||||
$nextCheckTime = $this->object->state->next_check !== null
|
||||
$nextCheckTime = $this->object->state->next_check !== null && ! $this->isChecksDisabled()
|
||||
? $this->object->state->next_check->getTimestamp()
|
||||
: null;
|
||||
if ($this->object->state->is_overdue) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue