Code

Skip Imap actions if mail method is empty.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Jan 2008 06:48:44 +0000 (06:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Jan 2008 06:48:44 +0000 (06:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8336 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupMail.inc

index 9ede9124c5e2bd714c337825c058991dfde54cf7..bc1e0893ef7e86e622f9fbb5457a8c8d7ee61ef2 100644 (file)
@@ -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... */