From: cajus Date: Tue, 30 May 2006 11:11:43 +0000 (+0000) Subject: First step: fixed problem with releases X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e8841a7c535ca2cda8047d96f2c664604f5b9703;p=gosa.git First step: fixed problem with releases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3562 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index c3ef74b5e..8644c88b0 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -781,10 +781,10 @@ class appgroup extends plugin function getReleases() { - $dn = "ou=apps,".$this->config->current['BASE']; + $dn = $this->config->current['BASE']; $ldap = $this->config->get_ldap_link(); $ldap->cd($dn); - $ldap->search("objectClass=organizationalUnit",array("ou")); + $ldap->search("(&(objectClass=organizationalUnit)(objectClass=FAIbranch))",array("ou")); $ret =array(); while($attrs = $ldap->fetch()){ if(preg_match("/ou=apps,/",$attrs['dn'])){ @@ -839,6 +839,7 @@ class appgroup extends plugin /* Copy members */ $this->Categories[""]=""; $this->attrs["gosaMemberApplication"]= array(); + $this->attrs["gosaApplicationParameter"]= array(); foreach($this->Categories as $name => $cats){ $i =0; if(isset($this->gosaMemberApplication[$name])){