From a17101a056382b9e2fc3eaf1d95854d994956952 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 30 Oct 2008 11:00:39 +0000 Subject: [PATCH] Fixed adddepartments used in management dialogs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12829 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_MultiSelectWindow.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.30.2