summaryrefslogtreecommitdiff
path: root/mail/squirrelmail/patches/patch-aj
blob: 69fb3dc30b885d81e5097780b092bf99b98c50dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aj,v 1.1 2010/03/04 16:00:37 taca Exp $

--- class/mime/Message.class.php.orig	2009-04-16 07:00:49.000000000 +0900
+++ class/mime/Message.class.php
@@ -1059,8 +1059,7 @@ class Message {
                 }
 
                 if (!$exclude) {
-                    if (($entity->type0 == 'multipart') &&
-                        ($entity->type1 != 'related')) {
+                    if ($entity->type0 == 'multipart') {
                         $result = $entity->getAttachments($exclude_id, $result);
                     } else if ($entity->type0 != 'multipart') {
                         $result[] = $entity;