Code

Made edit work
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Oct 2009 12:12:40 +0000 (12:12 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Oct 2009 12:12:40 +0000 (12:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14440 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 50ba9f3ff24472b4cfc7193a0b67477a3ea1bdcb..396f7f0a30012eba9c579d966007174af228dba8 100644 (file)
@@ -152,7 +152,7 @@ class departmentManagement extends plugin
       $data = array();
       foreach($types as $oc => $type){
         if(in_array($oc,$entry['objectClass'])){
-          $data = $oc;
+          $data = $type;
           break;
         }
       }