From: stekkel Date: Mon, 29 Jul 2002 07:58:59 +0000 (+0000) Subject: minor fix to in displaying attachments X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=1a09384c38013e5759cfa622b03a49134bde2eff 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 --- 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;