From 4cd8384ebb7c13db05bd5132befe4b683a90077c Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 15 Dec 2006 06:47:58 +0000 Subject: [PATCH] Choose a valid department as root dn .. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5400 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_MultiSelectWindow.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index cf90a8d01..6df9f2257 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -406,7 +406,9 @@ class MultiSelectWindow{ /* back to the roots ^^ */ if($s_action=="root"){ $this->selectedBase=($this->config->current['BASE']); - } + $dep_id = $this->ui->get_module_departments($this->module); + $this->selectedBase = $dep_id[key($dep_id)]; + } /* If Back-button is pressed, move back one step in DN */ -- 2.30.2