summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 765c502)
raw | patch | inline | side by side (parent: 765c502)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Nov 2009 16:22:43 +0000 (16:22 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Nov 2009 16:22:43 +0000 (16:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14781 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/groups/class_groupGeneric.inc | patch | blob | history | |
gosa-core/plugins/admin/ogroups/class_ogroup.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/gosa-core/plugins/admin/groups/class_groupGeneric.inc
index 5c9e62da6a87754a386127479926b361e153d434..8440c1c08f5cb2840511ea70501dacd589e575ea 100644 (file)
} else {
/* Get object base */
- $this->base =preg_replace ("/^[^,]+,".preg_quote(get_groups_ou(), '/')."/","",$this->dn);
+ $this->base =preg_replace ("/^[^,]+,".preg_quote(get_groups_ou(), '/')."/i","",$this->dn);
}
$this->orig_base = $this->base;
diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc
index 1a87f3aa3d78d2ae48b297b88adc2abb275fc8e2..beee3e503136754e0de664ed3de0133fe65c88d9 100644 (file)
if ($this->dn == "new"){
$this->base = session::get('CurrentMainBase');
} else {
- $this->base= preg_replace("/^[^,]+,".preg_quote(get_ou("ogroupRDN"), '/')."/","",$this->dn);
+ $this->base= preg_replace("/^[^,]+,".preg_quote(get_ou("ogroupRDN"), '/')."/i","",$this->dn);
/* Is this account a trustAccount? */
if ($this->is_account && isset($this->attrs['trustModel'])){