Code

Updated FAI template entry.
[gosa.git] / gosa-plugins / fai / admin / fai / tabsHook.inc
index 7b0859fb62ac06a426c9c3f4797aff1cccb7e96c..2e9e00a8711e15d76c6ebc814eea042f8bd46605 100644 (file)
@@ -3,7 +3,7 @@
 class tabsHook extends tabs
 {
   var $base= "";
-  var $parent;
+  var $parent ="";
 
   function tabsHook($config, $data, $dn,$category)
   {
@@ -21,7 +21,7 @@ class tabsHook extends tabs
   function save($ignore_account= FALSE)
   {
        $baseobject= $this->by_object['faiHook'];
-       $new_dn ='cn='.$baseobject->cn.",".get_ou('faihookou').$this->parent->fai_release;
+       $new_dn ='cn='.$baseobject->cn.",".get_ou('faiHookRDN').$this->parent->fai_release;
 
        if ($this->dn != $new_dn && $this->dn != "new"){