summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-19 08:05:33 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-19 08:05:33 +0200
commitca2c6316fb1bd6b092df9ca323152f1050ee2d56 (patch)
tree2c8691ba9930c3bc19bf6a8ca882b5b7a6c59488 /program/steps/mail
parentef3f1dfca9c59b67965382e99648bbb120908ed0 (diff)
Fix handling of deprecated boolean value of reply_mode option (#1489052)
Diffstat (limited to 'program/steps/mail')
-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 b787ca101..81b598377 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -571,7 +571,7 @@ function rcmail_prepare_message_body()
rcmail_write_forward_attachments();
}
// reply/edit/draft/forward
- else if ($compose_mode && ($compose_mode != RCUBE_COMPOSE_REPLY || $RCMAIL->config->get('reply_mode') != -1)) {
+ else if ($compose_mode && ($compose_mode != RCUBE_COMPOSE_REPLY || intval($RCMAIL->config->get('reply_mode')) != -1)) {
$isHtml = rcmail_compose_editor_mode();
if (!empty($MESSAGE->parts)) {