From: hickert Date: Fri, 19 May 2006 08:07:52 +0000 (+0000) Subject: Use userbase as dfault base for divlist management dialogs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=359fd162e5479a4e9d38bc8e4299c3090f8c128f;p=gosa.git 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 --- 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'];