summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-11-07 00:32:57 +0000
committerthomascube <thomas@roundcube.net>2005-11-07 00:32:57 +0000
commitb595c9fcf6940ae25c1e58ef2b8d340405083906 (patch)
tree35482440626ab52a2517312ffaadede0360fc250 /program/steps/mail
parente447cb072f025f1b0af9fea091a316e11163119d (diff)
Minor bugfixes
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/func.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index e6c58a7c1..4d80c851e 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -793,7 +793,8 @@ function rcmail_parse_message($structure, $arg=array(), $recursive=FALSE)
}
// part is file/attachment
- else if ($mail_part->disposition=='attachment' || $mail_part->disposition=='inline' || $mail_part->headers['content-id'])
+ else if ($mail_part->disposition=='attachment' || $mail_part->disposition=='inline' || $mail_part->headers['content-id'] ||
+ (empty($mail_part->disposition) && ($mail_part->d_parameters['filename'] || $mail_part->d_parameters['name'])))
{
if ($message_ctype_secondary=='related' && $mail_part->headers['content-id'])
$sa_inline_objects[] = array('filename' => $mail_part->d_parameters['filename'],