mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-25 18:59:05 +02:00
ImportRowModifierForm: Fix removal of filter expression
This commit is contained in:
parent
d205415f1b
commit
f4692d7ab4
@ -214,4 +214,13 @@ class ImportRowModifierForm extends DirectorObjectForm
|
|||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function onSuccess()
|
||||||
|
{
|
||||||
|
if ($this->getValue('use_filter') === 'n') {
|
||||||
|
$this->getObject()->set('filter_expression', null);
|
||||||
|
}
|
||||||
|
|
||||||
|
parent::onSuccess();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user