summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-11 18:47:31 +0000
committeralecpl <alec@alec.pl>2009-06-11 18:47:31 +0000
commitaae0ad8cb20ea30d47a0f575d3e58c80e0f175f5 (patch)
tree4d3e0b839c8c55c3d316db83f6ace966c5a2456d /program/steps/mail
parent069704b170c9b9bd29f2d8f9151b8dbaa44400ae (diff)
- re-set 'prefer_html' to have possibility to use html part for compose
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index b0637d345..fbd0cc44d 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -85,6 +85,8 @@ else if ($msg_uid = $_SESSION['compose']['param']['_draft_uid']) {
if (!empty($msg_uid))
{
// similar as in program/steps/mail/show.inc
+ // re-set 'prefer_html' to have possibility to use html part for compose
+ $CONFIG['prefer_html'] = $CONFIG['htmleditor'];
$MESSAGE = new rcube_message($msg_uid);
if (!empty($MESSAGE->headers->charset))