Skip to content

Commit

Permalink
monitoring/show: forgot to check for existance
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Gelf committed Sep 4, 2014
1 parent 05a64ce commit 7b35741
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -48,7 +48,7 @@ public function init()
}
if (Hook::has('grapher')) {
$this->grapher = Hook::first('grapher');
if (! $this->grapher->hasPreviews()) {
if ($this->grapher && ! $this->grapher->hasPreviews()) {
$this->grapher = null;
}
}
Expand Down

0 comments on commit 7b35741

Please sign in to comment.