From: hickert Date: Wed, 4 Jun 2008 08:22:45 +0000 (+0000) Subject: Updated ACL listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=35500948c33f8db05634c79dba48d2464a18b9a0;p=gosa.git Updated ACL listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11196 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index bd6d36e1b..d9384fd59 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -435,9 +435,9 @@ class departmentManagement extends plugin $this->departments= array(); /* Add current base to the list of available departments, but only if its naming attribute is 'ou' */ - if(preg_match("/^ou=/",$base)){ +# if(preg_match("/^ou=/",$base)){ $this->departments [ convert_department_dn($base) ] = "."; - } + # } foreach ($res as $key => $value){ @@ -455,6 +455,7 @@ class departmentManagement extends plugin $this->departments[$cdn]= get_sub_department($cdn);//$value["description"][0]; } } + natcasesort ($this->departments); reset ($this->departments); }