summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ead7037)
raw | patch | inline | side by side (parent: ead7037)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 08:49:24 +0000 (08:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 08:49:24 +0000 (08:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15519 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/ogroups/class_ogroup.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc
index 8465e48cfb8c7d1fcbe74d50e44f86119d31e0ff..6ad3e16fc8b90eb83aa007285e59d13f2ddafdf1 100644 (file)
}
session::set("ogfilter", $ogfilter);
- if(session::is_set('CurrentMainBase')){
- $this->base = session::get('CurrentMainBase');
- }
-
/* Set base */
if ($this->dn == "new"){
- $this->base = session::get('CurrentMainBase');
+ $ui = get_userinfo();
+ $this->base= dn2base(session::global_is_set("CurrentMainBase")?session::global_get("CurrentMainBase"):$ui->dn);
} else {
$this->base= preg_replace("/^[^,]+,".preg_quote(get_ou("ogroupRDN"), '/')."/i","",$this->dn);