index 6cf8a22711ac418e3721a6af1b41f65be688c7af..cc10e4c83e83ffaf3077dfbb3978d6b1f94effe2 100755 (executable)
/* 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){
/* 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 */