From 35500948c33f8db05634c79dba48d2464a18b9a0 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 4 Jun 2008 08:22:45 +0000 Subject: [PATCH] Updated ACL listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11196 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/admin/departments/class_departmentManagement.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } -- 2.30.2