Code

Replaced a couple of normalizePreg
[gosa.git] / gosa-core / plugins / admin / ogroups / class_ogroup.inc
index 761b4d9fabaa9d6aa895040c73067610a21ced55..0a3146bf3e8e6b45f32e9c276ed3e8181881f2aa 100644 (file)
@@ -124,7 +124,7 @@ class ogroup extends plugin
     if ($this->dn == "new"){
       $this->base = session::get('CurrentMainBase');
     } else {
-      $this->base= preg_replace("/^[^,]+,".normalizePreg(get_ou("ogroupRDN"))."/","",$this->dn);
+      $this->base= preg_replace("/^[^,]+,".preg_quote(get_ou("ogroupRDN"))."/","",$this->dn);
 
       /* Is this account a trustAccount? */
       if ($this->is_account && isset($this->attrs['trustModel'])){