From 603c7c7b46a65433c90b76a85c190c308fb64bdc Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Dec 2008 07:22:11 +0000 Subject: [PATCH] Added comment, to avoid beaking acls parsing later. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13250 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 3 +++ 1 file changed, 3 insertions(+) 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__"; -- 2.30.2