diff --git a/plugins/admin/fai/class_faiPartitionTable.inc b/plugins/admin/fai/class_faiPartitionTable.inc
index ca107408b685b35d7e5cc6bc82ca78f1f0588c81..fc35fd188204f1ff3cc2218af40e4c03074100bd 100644 (file)
/* 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){