Allow plugins to override message compose mode

pull/156/head
Thomas Bruederli 11 years ago
parent 38c9df8e97
commit e957bfecdf

@ -646,7 +646,7 @@ function rcmail_prepare_message_body()
} }
else if ($COMPOSE['param']['body']) { else if ($COMPOSE['param']['body']) {
$body = $COMPOSE['param']['body']; $body = $COMPOSE['param']['body'];
$isHtml = false; $isHtml = (bool) $COMPOSE['param']['html'];
} }
// forward as attachment // forward as attachment
else if ($compose_mode == RCUBE_COMPOSE_FORWARD && $COMPOSE['as_attachment']) { else if ($compose_mode == RCUBE_COMPOSE_FORWARD && $COMPOSE['as_attachment']) {

Loading…
Cancel
Save