monitoring: Use new restriction when viewing a host

refs #9009
This commit is contained in:
Eric Lippmann 2015-06-05 14:44:03 +02:00
parent d830480655
commit 5745790cdd
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class Monitoring_HostController extends MonitoredObjectController
{
$host = new Host($this->backend, $this->params->getRequired('host'));
$this->applyRestriction('monitoring/hosts/filter', $host);
$this->applyRestriction('monitoring/filter/objects', $host);
if ($host->fetch() === false) {
$this->httpNotFound($this->translate('Host not found'));