git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3159
7612ce4b-ef26-0410-bec9-
ea0150e637f0
*
* Copyright (c) 2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Copyright (c) 2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
- if ($entity->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;
$result = $entity->getAttachments($exclude_id, $result);
} else if ($entity->type0 != 'multipart') {
$result[] = $entity;