From 85bf6d967445b14d740531161827875bdc0cd4b8 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 6 Nov 2009 16:50:49 +0000 Subject: [PATCH] Updated for broken dns git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14788 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/generic/class_user.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){ -- 2.30.2