Code

Updated FAI template entry.
[gosa.git] / gosa-plugins / fai / admin / fai / tabsVariable.inc
index 1e05c873204c1fc71bd10e771a532def3dbd953e..5b23577d9eabf3d4d74bbe2d9403d9217823db5f 100644 (file)
@@ -3,7 +3,7 @@
 class tabsVariable extends tabs
 {
   var $base= "";
-  var $parent;
+  var $parent ="";
 
   function tabsVariable($config, $data, $dn,$category)
   {
@@ -22,7 +22,7 @@ class tabsVariable extends tabs
   function save($ignore_account= FALSE)
   {
        $baseobject= $this->by_object['faiVariable'];
-       $new_dn ='cn='.$baseobject->cn.",".get_ou('faivariableou').$this->parent->fai_release;
+       $new_dn ='cn='.$baseobject->cn.",".get_ou('faiVariableRDN').$this->parent->fai_release;
                        
        if ($this->dn != $new_dn && $this->dn != "new"){