From 2a17f7372ada5ba026b290a1619cb798496f2fe9 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 26 Jun 2008 05:20:30 +0000 Subject: [PATCH] Fixed department deletion. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11444 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/admin/departments/class_departmentManagement.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index e210ce3b2..713b37c21 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -188,12 +188,10 @@ class departmentManagement extends plugin if ($s_action=="del_multiple"){ $ids = $this->list_get_selected_items(); - if(count($ids)){ $this->dns = array(); foreach($ids as $id){ - $id = base64_decode($id); - $this->dns[$id] = $dn = $this->config->departments[$id]; + $this->dns[$id] = $dn = $this->departments[$id]['dn']; } /* Check locks */ -- 2.30.2