Code

Choose a valid department as root dn ..
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Dec 2006 06:47:58 +0000 (06:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Dec 2006 06:47:58 +0000 (06:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5400 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_MultiSelectWindow.inc

index cf90a8d01284605c60424d83be2aa24e1a46d768..6df9f225708a5be8bab63475ca91290f810701a0 100644 (file)
@@ -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 */