From c0c03f6f8496e6bc16f8c4e6225b5e612522ab80 Mon Sep 17 00:00:00 2001 From: thomasb Date: Sun, 8 Apr 2007 13:22:26 +0000 Subject: List attachments without filename git-svn-id: https://svn.roundcube.net/trunk@540 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/CHANGELOG | 8 ++++++++ roundcubemail/program/steps/mail/func.inc | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG index f02a1ad95..9bf3aefe0 100644 --- a/roundcubemail/CHANGELOG +++ b/roundcubemail/CHANGELOG @@ -1,6 +1,14 @@ CHANGELOG RoundCube Webmail --------------------------- +2007/04/08 (thomasb) +---------- +- Fixed message moving procedure (closes #1484308) +- Fixed display of multiple attachments (closes #1466563) +- Fixed check for new messages (closes #1484310) +- List attachments without filename + + 2007/03/27 (thomasb) ---------- - New session authentication: Change sessid cookie when login, authentication with sessauth cookie is now configurable. diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 37c1e1e19..a0bdf0995 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -996,8 +996,12 @@ function rcmail_parse_message(&$structure, $arg=array(), $recursive=FALSE) $sa_inline_objects[] = $mail_part; } // is regular attachment - else if ($mail_part->filename) + else + { + if (!$mail_part->filename) + $mail_part->filename = 'file_'.$mail_part->mime_id; $a_attachments[] = $mail_part; + } } } -- cgit v1.2.3