From 065984fdb243526714705464d2257edefe62258c Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 3 Feb 2010 14:26:52 +0000 Subject: [PATCH] fixed base detection for new objects. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15580 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/ogroups/class_ogroup.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc index db538a184..d951b0b08 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroup.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroup.inc @@ -119,7 +119,7 @@ class ogroup extends plugin /* Set base */ if ($this->dn == "new"){ $ui = get_userinfo(); - $this->base= dn2base(session::global_is_set("CurrentMainBase")?session::global_get("CurrentMainBase"):$ui->dn); + $this->base= dn2base(session::global_is_set("CurrentMainBase")?"cn=dummy,".session::global_get("CurrentMainBase"):$ui->dn); } else { $this->base= preg_replace("/^[^,]+,".preg_quote(get_ou("ogroupRDN"), '/')."/i","",$this->dn); -- 2.30.2