Code

Added printer patch
[gosa.git] / plugins / admin / fai / tabsVariable.inc
index b526884dfee468993c1b30d85884f1d672ba275b..c41a7f78c307c4fe012b238f00a7df70b3df376b 100644 (file)
@@ -19,7 +19,7 @@ class tabsVariable extends tabs
   {
        $baseobject= $this->by_object['faiVariable'];
 
-       $new_dn= 'cn='.$baseobject->cn.",ou=variables,ou=fai,ou=configs,ou=systems,".$_SESSION['faifilter']['base'];
+       $new_dn= 'cn='.$baseobject->cn.",ou=variables,ou=fai,ou=configs,ou=systems,".$_SESSION['CurrentMainBase'];
        
        if($_SESSION['faifilter']['branch']!="main"){
                $new_dn ='cn='.$baseobject->cn.",ou=variables,".$_SESSION['faifilter']['branch'];