Code

Fixes deletopm part of lhm revision #13568
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Jun 2009 09:21:35 +0000 (09:21 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Jun 2009 09:21:35 +0000 (09:21 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13834 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc

index 29cd8246e8272d8372bbd0ad118e99b7d52c606a..fed11fba7330dec70b072ba63daa92410d92f260 100644 (file)
@@ -392,7 +392,9 @@ class faiManagement extends plugin
         $ids = $this->list_get_selected_items();
         $to_delete = array();
         foreach($ids as $id){
-          $to_delete = array_merge($to_delete,$this->objects[$id]);
+          foreach($this->objects[$id] as $obj) { 
+            array_push($to_delete, $obj); 
+          } 
         }
       }