mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
parent
d830480655
commit
5745790cdd
@ -26,7 +26,7 @@ class Monitoring_HostController extends MonitoredObjectController
|
|||||||
{
|
{
|
||||||
$host = new Host($this->backend, $this->params->getRequired('host'));
|
$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) {
|
if ($host->fetch() === false) {
|
||||||
$this->httpNotFound($this->translate('Host not found'));
|
$this->httpNotFound($this->translate('Host not found'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user