summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7199b65)
raw | patch | inline | side by side (parent: 7199b65)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Jun 2008 08:22:45 +0000 (08:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Jun 2008 08:22:45 +0000 (08:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11196 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/departments/class_departmentManagement.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc
index bd6d36e1b58752a0fdb715b9f9751eafefe60e40..d9384fd59c72892d7ca8bb8470bbbbf5a8c16b07 100644 (file)
$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){
$this->departments[$cdn]= get_sub_department($cdn);//$value["description"][0];
}
}
+
natcasesort ($this->departments);
reset ($this->departments);
}