From 4aa959e992967acabd8357f3cb29e308dfe728bc Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Sep 2006 10:59:37 +0000 Subject: [PATCH] Fixed problem with partition removing git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4759 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPartitionTableEntry.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)); -- 2.30.2