From: hickert Date: Tue, 15 Jan 2008 06:48:44 +0000 (+0000) Subject: Skip Imap actions if mail method is empty. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1abec5d02c9ace31682456e008beb7bf8c218d7e;p=gosa.git Skip Imap actions if mail method is empty. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8336 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupMail.inc b/plugins/admin/groups/class_groupMail.inc index 9ede9124c..bc1e0893e 100644 --- a/plugins/admin/groups/class_groupMail.inc +++ b/plugins/admin/groups/class_groupMail.inc @@ -130,7 +130,7 @@ class mailgroup extends plugin read imap the acls from the mail method class. They will be merged later with the ldap specified acls. */ - if(!preg_match("/olab/i",$this->mmethod)){ + if(!preg_match("/olab/i",$this->mmethod) && !empty($this->mmethod)){ $this->imapacl= $method->getSharedFolderPermissions($this->uid); /* Need to filter what a member acl could be... */