summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/get.inc
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-02-20 23:29:14 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-02-20 23:29:14 +0000
commit8165248ee81cdb167ca91fd0af5462c9d6d415f1 (patch)
tree0710c053d4085f3ed0bdd752fd4e035c24b9a589 /roundcubemail/program/steps/mail/get.inc
parent071974fab95cba50b41220e7af510324dd035665 (diff)
Fixed some charset bugs
git-svn-id: https://svn.roundcube.net/trunk@147 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/get.inc')
-rw-r--r--roundcubemail/program/steps/mail/get.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc
index 5a4fea153..99cd211c6 100644
--- a/roundcubemail/program/steps/mail/get.inc
+++ b/roundcubemail/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'],