[icinga-checkins] icinga.org: icingaweb2-module-director/feature/icinga-legacy-config-13049: FormDataFilter: show groups of any type

git at icinga.org git at icinga.org
Fri Nov 11 10:43:58 CET 2016


Module: icingaweb2-module-director
Branch: feature/icinga-legacy-config-13049
Commit: 2b20daa55228beabc63476bbff3cb5615c7d770b
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=2b20daa55228beabc63476bbff3cb5615c7d770b

Author: Thomas Gelf <thomas at gelf.net>
Date:   Mon Nov  7 22:17:15 2016 +0100

FormDataFilter: show groups of any type

fixes #13045

---

 application/views/helpers/FormDataFilter.php |    1 +
 1 file changed, 1 insertion(+)

diff --git a/application/views/helpers/FormDataFilter.php b/application/views/helpers/FormDataFilter.php
index bb1b6e2..1e57216 100644
--- a/application/views/helpers/FormDataFilter.php
+++ b/application/views/helpers/FormDataFilter.php
@@ -170,6 +170,7 @@ class Zend_View_Helper_FormDataFilter extends Zend_View_Helper_FormElement
             }
 
             if (substr($col, -7) === '.groups' && $dummy->supportsGroups()) {
+                $type = substr($col, 0, -7);
                 return $this->selectGroup($type, $filter);
             }
         }



More information about the icinga-checkins mailing list