mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
IcingaObjectFieldForm: use correct error method
This commit is contained in:
parent
4ce7367dac
commit
b1d1194834
@ -47,7 +47,7 @@ class IcingaObjectFieldForm extends DirectorObjectForm
|
|||||||
. ' Please ask an administrator to create such'
|
. ' 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(
|
$this->addElement('select', 'is_required', array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user