Code

Updated ACL listing
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 08:22:45 +0000 (08:22 +0000)
committerhickert <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

index bd6d36e1b58752a0fdb715b9f9751eafefe60e40..d9384fd59c72892d7ca8bb8470bbbbf5a8c16b07 100644 (file)
@@ -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);
   }