IcingaServiceForm: fix clear overrides on blacklist
This commit is contained in:
parent
35f1f09b84
commit
4df11f8bd7
|
@ -223,7 +223,7 @@ class IcingaServiceForm extends DirectorObjectForm
|
|||
$service = $this->getFirstParent($this->object);
|
||||
|
||||
$db = $this->db->getDbAdapter();
|
||||
$host->unsetOverriddenServiceVars($service)->store();
|
||||
$host->unsetOverriddenServiceVars($this->object->getObjectName())->store();
|
||||
|
||||
if ($db->insert('icinga_host_service_blacklist', [
|
||||
'host_id' => $host->get('id'),
|
||||
|
|
Loading…
Reference in New Issue