From b1d11948348d393f8c77a437fdee97ef8cb07e8e Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 26 Nov 2015 09:34:47 +0100 Subject: [PATCH] IcingaObjectFieldForm: use correct error method --- application/forms/IcingaObjectFieldForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/IcingaObjectFieldForm.php b/application/forms/IcingaObjectFieldForm.php index 923cfef7..edb4288f 100644 --- a/application/forms/IcingaObjectFieldForm.php +++ b/application/forms/IcingaObjectFieldForm.php @@ -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(