Code

Removed lock message new
[gosa.git] / plugins / admin / fai / class_faiVariable.inc
index ff1ca9c058b7cc949134e648189a4ca7522a30a8..fdf650198cee305ddb4104f1f881e474eebeafa6 100644 (file)
@@ -89,7 +89,11 @@ class faiVariable extends plugin
       $this->is_dialog=true;
     }
 
-    $_SESSION['objectinfo'] = $this->dn;
+    if($this->dn != "new"){
+      $_SESSION['objectinfo']= $this->dn;
+    }
+
+
     /* Edit selected Sub Object */
     if((isset($_POST['EditSubObject']))&&(isset($_POST['SubObject']))){
       $this->dialog= new $this->subClassName($this->config,$this->dn,$this->SubObjects[$_POST['SubObject']]);