diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-11-14 18:46:37 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-11-14 18:46:37 +0100 |
commit | e957bfecdf5c856320725fcbf7ec737127f614bd (patch) | |
tree | b55d02ac7f31d7dd7653ff04194b221158f69656 /program | |
parent | 38c9df8e97311bdd960e555ee7dbc4beed0d2e96 (diff) |
Allow plugins to override message compose mode
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/compose.inc | 2 |
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']) { |