From 1a09384c38013e5759cfa622b03a49134bde2eff Mon Sep 17 00:00:00 2001 From: stekkel Date: Mon, 29 Jul 2002 07:58:59 +0000 Subject: [PATCH] minor fix to in displaying attachments git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3159 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/mime.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.25.1