mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +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')) {
|
||||
$this->grapher = Hook::first('grapher');
|
||||
if (! $this->grapher->hasPreviews()) {
|
||||
if ($this->grapher && ! $this->grapher->hasPreviews()) {
|
||||
$this->grapher = null;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user