From fd39346d9f9b49790a5100060a2e32a06f4a884b Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 08 Apr 2007 09:22:26 -0400
Subject: [PATCH] List attachments without filename
---
CHANGELOG | 8 ++++++++
program/steps/mail/func.inc | 6 +++++-
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/CHANGELOG b/CHANGELOG
index f02a1ad..9bf3aef 100644
--- a/CHANGELOG
+++ b/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/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 37c1e1e..a0bdf09 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -996,8 +996,12 @@
$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;
+ }
}
}
--
Gitblit v1.9.1