Fix issue with multi-part related messages not showing all attachments (#2830140).
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 22 Nov 2009 16:19:52 +0000 (16:19 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 22 Nov 2009 16:19:52 +0000 (16:19 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13874 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/mime/Message.class.php
doc/ChangeLog

index c7bac30..ae03ecd 100644 (file)
@@ -1123,8 +1123,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;
index 6b71e3a..3d8a0f8 100644 (file)
@@ -324,6 +324,7 @@ Version 1.5.2 - SVN
   - Remove personal data from Message ID seed. (#880029/847107)
   - Implemented page referal verification mechanism. (Secunia Advisory SA34627)
   - Implemented security token system. (Secunia Advisory SA34627)
+  - Fix issue with multi-part related messages not showing all attachments (#2830140).
 
 Version 1.5.1 (branched on 2006-02-12)
 --------------------------------------