mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
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…
x
Reference in New Issue
Block a user