mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
monitoring/show: forgot to check for existance
This commit is contained in:
parent
05a64ceea9
commit
7b35741985
@ -48,7 +48,7 @@ class Monitoring_ShowController extends Controller
|
|||||||
}
|
}
|
||||||
if (Hook::has('grapher')) {
|
if (Hook::has('grapher')) {
|
||||||
$this->grapher = Hook::first('grapher');
|
$this->grapher = Hook::first('grapher');
|
||||||
if (! $this->grapher->hasPreviews()) {
|
if ($this->grapher && ! $this->grapher->hasPreviews()) {
|
||||||
$this->grapher = null;
|
$this->grapher = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user