From: hickert Date: Thu, 30 Oct 2008 11:00:39 +0000 (+0000) Subject: Fixed adddepartments used in management dialogs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a17101a056382b9e2fc3eaf1d95854d994956952;p=gosa.git Fixed adddepartments used in management dialogs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12829 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc index 0e40eab1e..73746231c 100644 --- a/gosa-core/include/class_MultiSelectWindow.inc +++ b/gosa-core/include/class_MultiSelectWindow.inc @@ -673,11 +673,10 @@ class MultiSelectWindow{ /* Get all departments within this subtree */ $s_filter = ""; $s_attrs = array("description","objectClass"); - $s_acls = array(); + $s_acls = $this->module; foreach($types as $name => $data){ $s_filter.= "(&(objectClass=gosaDepartment)(objectClass=".$data['OC'].")(".$data['ATTR']."=".$this->base_selection_regex."))"; $s_attrs[]= $data['ATTR']; - $s_acls[] = "department/".$data['ACL']; } $tmp = get_list("(|".$s_filter.")",$s_acls,$this->selectedBase,$s_attrs,GL_NONE);