Code

Added label tags
[gosa.git] / plugins / gofon / macro / tabs_macros.inc
index 6cf8a22711ac418e3721a6af1b41f65be688c7af..cc10e4c83e83ffaf3077dfbb3978d6b1f94effe2 100755 (executable)
@@ -14,7 +14,7 @@ class macrotabs extends tabs
 
        /* Check for new 'dn', in order to propagate the
           'dn' to all plugins */
-       $new_dn= "cn=".$baseobject->cn.",".$baseobject->base;
+       $new_dn= "cn=".$baseobject->cn.",ou=macros,ou=asterisk,ou=config,".$baseobject->base;
 
         /* Move group? */
         if ($this->dn != $new_dn){
@@ -22,7 +22,7 @@ class macrotabs extends tabs
                 /* Write entry on new 'dn' */
                 if ($this->dn != "new"){
                         $baseobject->move($this->dn, $new_dn);
-                        $this->by_object['application']= $baseobject;
+                        $this->by_object['macro']= $baseobject;
                 }
 
                 /* Happen to use the new one */