From: hickert Date: Thu, 11 Dec 2008 07:22:11 +0000 (+0000) Subject: Added comment, to avoid beaking acls parsing later. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=603c7c7b46a65433c90b76a85c190c308fb64bdc;p=gosa.git Added comment, to avoid beaking acls parsing later. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13250 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index b4c01024d..cf3211f7b 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -87,6 +87,9 @@ class mailgroup extends plugin if(isset($this->attrs['acl'])){ for($i = 0; $i < $this->attrs['acl']['count'] ; $i++){ $str = trim($this->attrs['acl'][$i]); + + /* Be carefull here, since kolab22 uses spaces in the acls (herbert read anon/post) + */ $name = trim(preg_replace("/^([^\s]*).*$/","\\1",$str)); $acl = trim(preg_replace("/^[^\s]*+\s/","",$str)); if($name == "anyone") $name = "__anyone__";