[icinga-checkins] icinga.org: icingaweb2-module-director/bugfix/loop-templateresolver-11803: IcingaObjectFieldLoader: check for fields support

git at icinga.org git at icinga.org
Mon Oct 31 13:31:43 CET 2016


Module: icingaweb2-module-director
Branch: bugfix/loop-templateresolver-11803
Commit: 0db659cc4e04a816ad353983f9e1f4c8baaece14
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=0db659cc4e04a816ad353983f9e1f4c8baaece14

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Oct 20 02:50:55 2016 +0000

IcingaObjectFieldLoader: check for fields support

---

 library/Director/Web/Form/IcingaObjectFieldLoader.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Director/Web/Form/IcingaObjectFieldLoader.php b/library/Director/Web/Form/IcingaObjectFieldLoader.php
index eaad9a7..1f9e69d 100644
--- a/library/Director/Web/Form/IcingaObjectFieldLoader.php
+++ b/library/Director/Web/Form/IcingaObjectFieldLoader.php
@@ -25,7 +25,7 @@ class IcingaObjectFieldLoader
 
     public function addFieldsToForm(QuickForm $form)
     {
-        if ($this->object->supportsCustomVars()) {
+        if ($this->object->supportsFields()) {
             $this->attachFieldsToForm($form);
         }
 



More information about the icinga-checkins mailing list