summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-11-14 18:46:37 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-11-14 18:46:37 +0100
commite957bfecdf5c856320725fcbf7ec737127f614bd (patch)
treeb55d02ac7f31d7dd7653ff04194b221158f69656
parent38c9df8e97311bdd960e555ee7dbc4beed0d2e96 (diff)
Allow plugins to override message compose mode
-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 8d275f930..987cdb9a1 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -646,7 +646,7 @@ function rcmail_prepare_message_body()
}
else if ($COMPOSE['param']['body']) {
$body = $COMPOSE['param']['body'];
- $isHtml = false;
+ $isHtml = (bool) $COMPOSE['param']['html'];
}
// forward as attachment
else if ($compose_mode == RCUBE_COMPOSE_FORWARD && $COMPOSE['as_attachment']) {