Allow plugins to override message compose mode

This commit is contained in:
Thomas Bruederli
2013-11-14 18:46:37 +01:00
parent 38c9df8e97
commit e957bfecdf

View File

@@ -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']) {