Code

Upps
[gosa.git] / plugins / admin / fai / tabsProfile.inc
index 599f6772c877714dec37fa5b77a2ab664bb5af3c..3131a1dbe63c4c791e5802e7e86107e11b2c3ab0 100644 (file)
@@ -19,7 +19,7 @@ class tabsProfile extends tabs
   {
        $baseobject= $this->by_object['faiProfile'];
 
-       $new_dn= 'cn='.$baseobject->cn.",ou=profiles,ou=fai,ou=configs,ou=systems,".$_SESSION['faifilter']['base'];
+       $new_dn= 'cn='.$baseobject->cn.",ou=profiles,ou=fai,ou=configs,ou=systems,".$_SESSION['CurrentMainBase'];
 
        if($_SESSION['faifilter']['branch']!="main"){
                $new_dn ='cn='.$baseobject->cn.",ou=profiles,".$_SESSION['faifilter']['branch'];