X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=class%2Fmime.class.php;h=d2f5133bf3f2018e14663a1c80105793bca2c5f6;hp=861586a034cdd5f4bebbfb01bf4486d878298778;hb=1a09384c38013e5759cfa622b03a49134bde2eff;hpb=85dcc3fbfda74fed100bfe8e0f09a50a7dff7009 diff --git a/class/mime.class.php b/class/mime.class.php index 861586a0..d2f5133b 100644 --- a/class/mime.class.php +++ b/class/mime.class.php @@ -1,7 +1,7 @@ type0 == 'multipart' && !$entity->type1 == 'related') { + if ($entity->type0 == 'multipart' && + $entity->type1 != 'related') { $result = $entity->getAttachments($exclude_id, $result); } else if ($entity->type0 != 'multipart') { $result[] = $entity;