summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-04-06 17:35:04 +0000
committersvncommit <devs@roundcube.net>2006-04-06 17:35:04 +0000
commit2e2fe047388783026d180b920b31f8d209bd0e1a (patch)
tree9572344b6d897687bd924b230324f45fe5bb05dc /program/steps
parent0f246aea4393efd9e588da330b397b044832861f (diff)
Corrected issue displaying attachments without disposition headers
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index a6f8b3f94..21ae0b56d 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -893,7 +893,7 @@ 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'] ||
- (empty($mail_part->disposition) && ($mail_part->d_parameters['filename'] || $mail_part->d_parameters['name'])))
+ (empty($mail_part->disposition) && ($mail_part->d_parameters['filename'] || $mail_part->ctype_parameters['name'])))
{
if ($message_ctype_secondary=='related' && $mail_part->headers['content-id'])
$sa_inline_objects[] = array('filename' => rcube_imap::decode_mime_string($mail_part->d_parameters['filename']),