diff --git a/modules/monitoring/application/controllers/ListController.php b/modules/monitoring/application/controllers/ListController.php index 41e27ec45..8a9dc5fa4 100644 --- a/modules/monitoring/application/controllers/ListController.php +++ b/modules/monitoring/application/controllers/ListController.php @@ -170,10 +170,8 @@ class Monitoring_ListController extends Controller $this->addTitleTab('services', $this->translate('Services'), $this->translate('List services')); $this->view->showHost = true; - if ($host = $this->_getParam('host')) { - if (strpos($host, '*') === false) { - $this->view->showHost = false; - } + if (strpos($this->params->get('host_name', '*'), '*') === false) { + $this->view->showHost = false; } $this->setAutorefreshInterval(10);