From a47c558df4cdd0d5da0aef3e3295ddd4ac27e426 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 12 May 2020 15:54:11 +0200 Subject: [PATCH] Fix typo --- program/steps/mail/compose.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 6fa078d3f..9bf17558f 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -953,7 +953,7 @@ function rcmail_write_compose_attachments(&$message, $bodyIsHtml, &$message_body } if ( - $part->disposition == 'attachments' + $part->disposition == 'attachment' || ($part->disposition == 'inline' && $bodyIsHtml) || $part->filename || $part->mimetype == 'message/rfc822'