summaryrefslogtreecommitdiff
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
parentef3f1dfca9c59b67965382e99648bbb120908ed0 (diff)
Fix handling of deprecated boolean value of reply_mode option (#1489052)
-rw-r--r--CHANGELOG1
-rw-r--r--program/steps/mail/compose.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index e987cbe2d..f4a913254 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix handling of deprecated boolean value of reply_mode option (#1489052)
- Fix parsing invalid date string (#1489035)
- Add "with attachment" option to messages list filter (#1485382)
- Call resize handler in intervals to prevent lags and double onresize calls in Chrome (#1489005)
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)) {