index f0c16646ead262b45a8019717aeb0fcffa1fc3a7..21b2fb48bd299c8d753b0d6d844fff0d1d55c19a 100644 (file)
{
$baseobject= $this->by_object['faiPackage'];
- $branch = "";
+ $new_dn= 'cn='.$baseobject->cn.",ou=packages,ou=fai,ou=configs,ou=systems,".$_SESSION['CurrentMainBase'];
if($_SESSION['faifilter']['branch']!="main"){
- $branch = "ou=".$_SESSION['faifilter']['branch'].",";
+ $new_dn ='cn='.$baseobject->cn.",ou=packages,".$_SESSION['faifilter']['branch'];
}
-
- $new_dn= 'cn='.$baseobject->cn.",ou=packages,".$branch."ou=fai,ou=configs,ou=systems,".$_SESSION['faifilter']['base'];
-
+
if ($this->dn != $new_dn && $this->dn != "new"){
/* if( new_dn is subtree of this->dn ) */