Code

Fixed CurrentMainBase
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 12 Apr 2006 04:52:29 +0000 (04:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 12 Apr 2006 04:52:29 +0000 (04:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3036 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/posix/class_posixAccount.inc

index 3413fe457d1a100c0242209a359c4fc7b705c278..dc821827919bd895bdde1c57149192cfe64f8807 100644 (file)
@@ -437,10 +437,11 @@ class posixAccount extends plugin
       $smarty->assign("tree_image", get_template_path('images/tree.png'));
       $smarty->assign("deplist", $this->config->idepartments);
       $smarty->assign("alphabet", generate_alphabet());
-      foreach( array("depselect", "guser", "regex", "primarygroups", "mailgroups",
+      foreach( array("guser", "regex", "primarygroups", "mailgroups",
             "appgroups", "sambagroups", "functionalgroups") as $type){
         $smarty->assign("$type", $groupfilter[$type]);
       }
+      $smarty->assign("depselect",$_SESSION['CurrentMainBase']);
       $smarty->assign("hint", print_sizelimit_warning());
 
       $smarty->assign("apply", apply_filter());
@@ -1108,7 +1109,7 @@ $ldap->modify ($this->attrs);
     $groupfilter= get_global('groupfilter');
 
     /* Set base for all searches */
-    $base= $groupfilter['depselect'];
+    $base= $_SESSION['CurrentMainBase'];
 
     /* Regex filter? */
     if ($groupfilter['regex'] != ""){