From: cajus Date: Fri, 14 Jul 2006 06:17:30 +0000 (+0000) Subject: Fixed problem with empty member lists X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d4b10ea34111a52d1da376b29dce4baab6879703;p=gosa.git Fixed problem with empty member lists git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4147 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_acl.inc b/include/class_acl.inc index 8cdfe5430..9d9830993 100644 --- a/include/class_acl.inc +++ b/include/class_acl.inc @@ -613,7 +613,7 @@ class acl extends plugin function extractACL($acl) { /* Rip acl off the string, seperate by ',' and place it in an array */ - $as= preg_replace('/^[^:]+:[^:]+:[^:]+:(.*)$/', '\1', $acl); + $as= preg_replace('/^[^:]+:[^:]+:[^:]*:(.*)$/', '\1', $acl); $aa= split(',', $as); $a= array();