Code

Updated divlists to include the ldap base
[gosa.git] / plugins / gofon / macro / class_divListMacros.inc
index c759479a48a33f98785355a041c9c9526f17f049..0e3600bd4f8af8f3ec101d5bd65ad0827a1813a5 100755 (executable)
@@ -79,6 +79,9 @@ class divListMacro extends MultiSelectWindow
     $deps= get_list("(&(|(ou=*)(description=*))(objectClass=gosaDepartment))", $this->module, $base,
                     array("ou", "description"), GL_SIZELIMIT | GL_SUBSEARCH);
 
+    /* Add base */
+    $deps[] = array("dn"=>$this->config->current['BASE']);
+
     /* Load possible departments */
     $ui= get_userinfo();
     $tdeps= $ui->get_module_departments("gofonmacro");