mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Fix exception on 404 in monitoring/show/
This commit is contained in:
parent
82ca774331
commit
139023571f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user