summaryrefslogtreecommitdiff
path: root/program/steps/mail/get.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-02-20 23:29:14 +0000
committerthomascube <thomas@roundcube.net>2006-02-20 23:29:14 +0000
commit13c1afbcbbc71c64f41eb7d764917bb4fea9893f (patch)
treecea2711d376826e1ab7bb8829ab47e4a81fef7ba /program/steps/mail/get.inc
parente687ff825dcd93cd8c007420d225917033605252 (diff)
Fixed some charset bugs
Diffstat (limited to 'program/steps/mail/get.inc')
-rw-r--r--program/steps/mail/get.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 5a4fea153..99cd211c6 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -70,8 +70,8 @@ else if ($_GET['_part'])
$mimetype = sprintf('%s/%s', $ctype_primary, $ctype_secondary);
$filename = $part->d_parameters['filename'] ? $part->d_parameters['filename'] : $part->ctype_parameters['name'];
-
- if ($ctype_primary=='text')
+
+ if ($ctype_primary=='text' && $ctype_secondary=='html')
{
list($MESSAGE['parts']) = rcmail_parse_message($part,
array('safe' => (bool)$_GET['_safe'],