List attachments without filename

release-0.6
thomascube 18 years ago
parent d70ddea08c
commit fd39346d9f

@ -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.

@ -996,10 +996,14 @@ 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;
}
}
}
// if this was a related part try to resolve references
if ($message_ctype_secondary=='related' && sizeof($sa_inline_objects))

Loading…
Cancel
Save