From bd1e16f3436786875cb40074d27230a5428693e6 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Thu, 28 Feb 2013 16:03:40 -0500 Subject: [PATCH] Don't skip message/* attachments when opening a draft. Restore check as it was before [fa57c988] --- program/steps/mail/compose.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index b082c26..de75c88 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -982,7 +982,7 @@ foreach ((array)$message->mime_parts as $pid => $part) { if ($part->disposition == 'attachment' || ($part->disposition == 'inline' && $bodyIsHtml) || $part->filename) { - if ($part->ctype_primary == 'message' || $part->ctype_primary == 'multipart') { + if (($part->ctype_primary == 'message' && $bodyIsHtml) || $part->ctype_primary == 'multipart') { continue; } if ($part->mimetype == 'application/ms-tnef') { -- Gitblit v1.9.1