From 1abec5d02c9ace31682456e008beb7bf8c218d7e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 15 Jan 2008 06:48:44 +0000 Subject: [PATCH] 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 --- plugins/admin/groups/class_groupMail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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... */ -- 2.30.2