From: cajus Date: Thu, 1 Oct 2009 12:12:40 +0000 (+0000) Subject: Made edit work X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=beeea18c07094c406aef24ca91c03a169e61ce56;p=gosa.git Made edit work git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14440 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index 50ba9f3ff..396f7f0a3 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -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; } }