Skip to content

Commit

Permalink
Fix handling of deprecated boolean value of reply_mode option (#1489052)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Apr 19, 2013
1 parent ef3f1df commit ca2c631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions 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)
Expand Down
2 changes: 1 addition & 1 deletion program/steps/mail/compose.inc
Expand Up @@ -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)) {
Expand Down

0 comments on commit ca2c631

Please sign in to comment.