summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authortill <till@php.net>2008-02-11 17:39:31 +0000
committertill <till@php.net>2008-02-11 17:39:31 +0000
commitc3c0fb714905776916bc224b79bdc37197049afc (patch)
tree205d96e81b33fabcee240dd1b8ce8925171a90ea /program/steps/mail/compose.inc
parent8ecb0e8fb9b10ef424a5088545f68fb939ccf7c8 (diff)
* fixing bug #1484673
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 3e768c868..71d2197d8 100644
--- a/program/steps/mail/compose.inc
+++ b/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)))
{