diff --git a/modules/monitoring/application/controllers/ShowController.php b/modules/monitoring/application/controllers/ShowController.php index bcf04d1d4..b695389a4 100644 --- a/modules/monitoring/application/controllers/ShowController.php +++ b/modules/monitoring/application/controllers/ShowController.php @@ -157,7 +157,10 @@ class Monitoring_ShowController extends Controller */ protected function createTabs() { - $object = $this->view->object; + if (($object = $this->view->object) === null) { + return; + } + $tabs = $this->getTabs(); $params = array( 'host' => $object->host_name,