IcingaHost: do not render Endpoint and Zone...

...for disabled hosts

fixes #741
This commit is contained in:
Thomas Gelf 2017-01-24 09:45:32 +01:00
parent 5c158e708e
commit d4b769b8d7

View File

@ -181,6 +181,10 @@ class IcingaHost extends IcingaObject
return;
}
if ($this->isDisabled()) {
return;
}
if ($this->getRenderingZone($config) === self::RESOLVE_ERROR) {
return;
}