summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authortill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-11 17:39:31 +0000
committertill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-11 17:39:31 +0000
commitd0673285e1c4cb8100a4d7ef79ef52ef197b00b8 (patch)
tree6fe3f251f78912401b3b3de89fa9b32fddbc052c /roundcubemail/program
parenta3b187a4188399dcf16693bc569b43f09e60f66c (diff)
* fixing bug #1484673
git-svn-id: https://svn.roundcube.net/trunk@1039 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index 3e768c868..71d2197d8 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -587,7 +587,7 @@ function rcmail_write_compose_attachments(&$message)
foreach ($message['parts'] as $pid => $part)
{
- if ($part->ctype_primary != 'message' && $part->ctype_primary != 'text' &&
+ if ($part->ctype_primary != 'message' &&
($part->disposition=='attachment' || $part->disposition=='inline' || $part->headers['content-id'] ||
(empty($part->disposition) && $part->filename)))
{