From 27da67ae0ae66f31dd9c30d031da9d66bcb5d676 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 25 Jul 2002 19:34:49 +0000 Subject: [PATCH] fix for viewing attachments git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3138 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 0648ca9c..2f77af8f 100644 --- a/class/mime.class.php +++ b/class/mime.class.php @@ -1,11 +1,12 @@ type0 == 'multipart' && $entity->type1 == 'digest') { + if ($entity->type0 == 'multipart' && !$entity->type1 == 'related') { $result = $entity->getAttachments($exclude_id, $result); } else if ($entity->type0 != 'multipart') { $result[] = $entity; -- 2.25.1