index 60d70673efb63c4e2967950efa1ff40afa0747c0..22a34d2c9690ceac786eca76a8caa68a85773dc6 100644 (file)
{
$baseobject= $this->by_object['faiScript'];
- $branch = "";
+ $new_dn= 'cn='.$baseobject->cn.",ou=scripts,ou=fai,ou=configs,ou=systems,".$_SESSION['CurrentMainBase'];
+
if($_SESSION['faifilter']['branch']!="main"){
- $branch = "ou=".$_SESSION['faifilter']['branch'].",";
+ $new_dn ='cn='.$baseobject->cn.",ou=scripts,".$_SESSION['faifilter']['branch'];
}
-
- $new_dn= 'cn='.$baseobject->cn.",ou=scripts,".$branch."ou=fai,ou=configs,ou=systems,".$_SESSION['faifilter']['base'];
if ($this->dn != $new_dn && $this->dn != "new"){