Code

Fixed regex
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Oct 2008 16:04:33 +0000 (16:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 30 Oct 2008 16:04:33 +0000 (16:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12834 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_userinfo.inc

index b2143df0bef74dca6b341a676a02bdcfba4a8fe7..e5123cf93f9f59bdb5c48f98defcb420289cb4d8 100644 (file)
@@ -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? */