summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dcefa58)
raw | patch | inline | side by side (parent: dcefa58)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Dec 2010 11:07:08 +0000 (11:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Dec 2010 11:07:08 +0000 (11:07 +0000) |
-
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20565 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20565 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | patch | blob | history |
diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc
index 217710e4a6ab555f1a4af93724f77f7aea76af04..31d47a81d006354d2845e5d68df2fb67816e10e9 100644 (file)
$ldap = $this->config->get_ldap_link();
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));
+ $str = $this->attrs['acl'][$i];
+ list($name, $acl) = preg_split("/[ ]{1}/", $str, 2);
if($name == "anyone") $name = "__anyone__";
$this->folder_acls[$name] = $acl;
}