From 548b33870dd5d21752e40b8d0346a985713f3296 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 30 May 2006 10:38:12 +0000 Subject: [PATCH] Fixed home switch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3561 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_MultiSelectWindow.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index 542d8c18c..df2e0ee37 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -363,9 +363,9 @@ class MultiSelectWindow{ /* Homebutton is posted */ if($s_action=="home"){ - $ui= get_userinfo(); - $this->selectedBase=(preg_replace("/^[^,]+,/","",$ui->dn)); - $this->selectedBase=(preg_replace("/^[^,]+,/","",$this->selectedBase)); + $ui= get_userinfo(); + $base = get_base_from_people($ui->dn); + $this->selectedBase= $base; } /* Open selected department -- 2.30.2