From: hickert Date: Thu, 21 Sep 2006 10:59:37 +0000 (+0000) Subject: Fixed problem with partition removing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4aa959e992967acabd8357f3cb29e308dfe728bc;p=gosa.git Fixed problem with partition removing git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4759 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc index cc2c0619c..b3d849cd3 100644 --- a/plugins/admin/fai/class_faiPartitionTableEntry.inc +++ b/plugins/admin/fai/class_faiPartitionTableEntry.inc @@ -122,7 +122,8 @@ class faiPartitionTableEntry extends plugin */ if($s_action == "remove"){ if($this->partitions[$s_entry]['status'] == "edited"){ - $this->deletePartitions[]= $this->partitions[$s_entry]; + $this->deletePartitions[$s_entry]= $this->partitions[$s_entry]; + $this->deletePartitions[$s_entry]['FAIpartitionNr']=$s_entry; unset($this->partitions[$s_entry]); }else{ unset($this->partitions[$s_entry]); @@ -171,8 +172,6 @@ class faiPartitionTableEntry extends plugin $smarty->assign("DISK_cnACL",""); // } - - /* Fetch template and show the result */ $display.= $smarty->fetch(get_template_path('faiPartitionTableEntry.tpl', TRUE));