Code

Fixed department deletion.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 Jun 2008 05:20:30 +0000 (05:20 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 26 Jun 2008 05:20:30 +0000 (05:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11444 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index e210ce3b2ff81a85ecbabe61be91ea280141d002..713b37c21e1ffe5614f868d093b178af84c1a230 100644 (file)
@@ -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 */