index 81e2baccc73dad9a40f1a78b43adbb2b7364ce79..b526884dfee468993c1b30d85884f1d672ba275b 100644 (file)
$new_dn= 'cn='.$baseobject->cn.",ou=variables,ou=fai,ou=configs,ou=systems,".$_SESSION['faifilter']['base'];
+ if($_SESSION['faifilter']['branch']!="main"){
+ $new_dn ='cn='.$baseobject->cn.",ou=variables,".$_SESSION['faifilter']['branch'];
+ }
+
if ($this->dn != $new_dn && $this->dn != "new"){
/* if( new_dn is subtree of this->dn ) */