DirectorObjectForm: make use of element filters

This commit is contained in:
Thomas Gelf 2016-05-20 08:37:46 +02:00
parent 0a475e3bcb
commit 5952de5841
1 changed files with 2 additions and 2 deletions

View File

@ -813,11 +813,11 @@ abstract class DirectorObjectForm extends QuickForm
foreach ($post as $key => $value) {
$el = $this->getElement($key);
if ($el && ! $el->getIgnore()) {
$values[$key] = $value;
$values[$key] = $el->setValue($value)->getValue();
}
}
}
if ($object instanceof IcingaObject) {
if ($object->isApplyRule()) {
$this->setElementValue('assignlist', $object->assignments()->getFormValues());