From: hickert Date: Fri, 15 Dec 2006 06:47:58 +0000 (+0000) Subject: Choose a valid department as root dn .. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4cd8384ebb7c13db05bd5132befe4b683a90077c;p=gosa.git Choose a valid department as root dn .. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5400 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */