From e8841a7c535ca2cda8047d96f2c664604f5b9703 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 30 May 2006 11:11:43 +0000 Subject: [PATCH] First step: fixed problem with releases git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3562 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupApplication.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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])){ -- 2.30.2