From 9c462f8b81f451d5fa9cc0885a63651e517f2b44 Mon Sep 17 00:00:00 2001 From: kink Date: Fri, 8 Jun 2007 18:31:54 +0000 Subject: [PATCH] html/plain should be text/html git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12445 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compose.php b/src/compose.php index 2614ffdd..30b2fcda 100644 --- a/src/compose.php +++ b/src/compose.php @@ -755,7 +755,7 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se (array(), $alt_order = array('text/plain')); if (!count($entities)) { $entities = $message->entities[0]->findDisplayEntity - (array(), $alt_order = array('text/plain','html/plain')); + (array(), $alt_order = array('text/plain','text/html')); } $orig_header = $message->rfc822_header; /* here is the envelope located */ /* redefine the message for picking up the attachments */ @@ -764,7 +764,7 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se } else { $entities = $message->findDisplayEntity (array(), $alt_order = array('text/plain')); if (!count($entities)) { - $entities = $message->findDisplayEntity (array(), $alt_order = array('text/plain','html/plain')); + $entities = $message->findDisplayEntity (array(), $alt_order = array('text/plain','text/html')); } $orig_header = $message->rfc822_header; } -- 2.25.1