From: cajus Date: Thu, 30 Oct 2008 16:04:33 +0000 (+0000) Subject: Fixed regex X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5cf3014c6841f11a785ef86427fa989734ad8cbd;p=gosa.git Fixed regex git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12834 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index b2143df0b..e5123cf93 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -310,7 +310,7 @@ class userinfo /* Ensure that we only cache relevant ACL settings */ while(!isset($this->ACL[$dn]) && preg_match("/,/",$dn)){ - $dn = preg_replace("/^[^,]*+,/","",$dn); + $dn = preg_replace("/^[^,]+,/","",$dn); } /* Push cache answer? */