IcingaServiceForm: fix clear overrides on blacklist

This commit is contained in:
Thomas Gelf 2018-05-25 18:29:12 +02:00
parent 35f1f09b84
commit 4df11f8bd7
1 changed files with 1 additions and 1 deletions

View File

@ -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'),