summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ad17fb)
raw | patch | inline | side by side (parent: 0ad17fb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Jul 2006 08:10:05 +0000 (08:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Jul 2006 08:10:05 +0000 (08:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4092 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/departments/class_departmentManagement.inc | patch | blob | history |
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index d622df9e7fe52eb0a0ac38e49bda60573e24a5f8..815f40da2b874a87de132c048275da4bac52637c 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)){
+ $this->departments [ convert_department_dn($base) ] = ".";
+ }
+
foreach ($res as $key => $value){
/* Don't display base as entry on subsearch */