From: cajus Date: Fri, 6 Nov 2009 16:50:49 +0000 (+0000) Subject: Updated for broken dns X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=85bf6d967445b14d740531161827875bdc0cd4b8;p=gosa.git Updated for broken dns git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14788 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index 84103a3a0..93178928e 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -1448,7 +1448,7 @@ class user extends plugin } /* Get base */ - $this->base= preg_replace('/^[^,]+,'.get_people_ou().'/i', '', $dn); + $this->base= preg_replace('/^[^,]+,'.preg_quote(get_people_ou(), '/').'/i', '', $dn); if($this->governmentmode){