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