From 24c0a16030ec87c836e6db110254f25b5d332cd3 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 12 Apr 2006 04:52:29 +0000 Subject: [PATCH] Fixed CurrentMainBase git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3036 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/posix/class_posixAccount.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index 3413fe457..dc8218279 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -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'] != ""){ -- 2.30.2