From 2125b18db9a09e5ad6d2a1fcbac017b67e165cd6 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 3 Nov 2009 09:55:46 +0000 Subject: [PATCH] Use current selected base, ui->dn only as fallback git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14730 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 247f2326d..84103a3a0 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -177,7 +177,7 @@ class user extends plugin /* Do base conversation */ if ($this->dn == "new"){ $ui= get_userinfo(); - $this->base= dn2base($ui->dn); + $this->base= dn2base(session::global_is_set("CurrentMainBase")?"cn=dummy,".session::global_get("CurrentMainBase"):$ui->dn); } else { $this->base= dn2base($dn); } -- 2.30.2