Code

reverted last commit
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 08:24:10 +0000 (08:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 4 Jun 2008 08:24:10 +0000 (08:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11197 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_departmentManagement.inc

index d9384fd59c72892d7ca8bb8470bbbbf5a8c16b07..174b11bd18372326457e1c38c1df1dac24a06012 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){