From 359fd162e5479a4e9d38bc8e4299c3090f8c128f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 19 May 2006 08:07:52 +0000 Subject: [PATCH] Use userbase as dfault base for divlist management dialogs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3449 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_MultiSelectWindow.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index cee65eec4..898aad6ee 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -67,9 +67,11 @@ class MultiSelectWindow{ $this->CloseButtonString = _("Close"); $this->filterName = $filterName; - /* Set default base */ + /* Set default base, to users base */ + $ui = get_userinfo(); + $base = get_base_from_people($ui->dn); if(!isset($_SESSION['CurrentMainBase'])){ - $_SESSION['CurrentMainBase'] = $this->config->current['BASE']; + $_SESSION['CurrentMainBase'] = base; } $this->selectedBase = $_SESSION['CurrentMainBase']; -- 2.30.2