diff --git a/plugins/admin/fai/class_faiPartitionTable.inc b/plugins/admin/fai/class_faiPartitionTable.inc
index 47e989cc29d45085396a9257b63368c008bd079c..fc35fd188204f1ff3cc2218af40e4c03074100bd 100644 (file)
function execute()
{
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
/* Edit disk.
* Open dialog which allows us to edit the selected entry
*/
/* Edit disk.
* Open dialog which allows us to edit the selected entry
*/
- $_SESSION['objectinfo'] = $this->dn;
+
+ if($this->dn != "new"){
+ $_SESSION['objectinfo']= $this->dn;
+ }
+
if((isset($_POST['EditDisk']))&&(isset($_POST['disks']))){
$usedDiskNames =array();
foreach($this->disks as $key=>$disk){
if((isset($_POST['EditDisk']))&&(isset($_POST['disks']))){
$usedDiskNames =array();
foreach($this->disks as $key=>$disk){