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 c7bac30b5da6cd41bfde40c3ce19eae4d2f87823..ae03ecd48e09ec6dca7290751cf52686366a4fad 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 6b71e3a7d1426e63aafa11f8b00eb8981682c81e..3d8a0f8c1e952b27390566fa308a67fe505429c0 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)
 --------------------------------------