IcingaObjectFieldForm: use correct error method

This commit is contained in:
Thomas Gelf 2015-11-26 09:34:47 +01:00
parent 4ce7367dac
commit b1d1194834
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class IcingaObjectFieldForm extends DirectorObjectForm
. ' Please ask an administrator to create such'
);
$this->getElement('datafield_id')->setError($msg);
$this->getElement('datafield_id')->addError($msg);
}
$this->addElement('select', 'is_required', array(