diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-06-20 10:52:40 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-06-20 10:53:28 +0200 |
commit | db2c1a53cbd6ba073f5c4a8f925a95a72f0f6981 (patch) | |
tree | 5a76a2d7a136f023a22d8555d2e0ee98d2181918 /program/steps | |
parent | a862e9996b66249ba36ad57b02da98220c38ab34 (diff) |
Fix so address format errors are ignored when saving a draft (#1489954)
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/sendmail.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 293eb718b..13a8a24a9 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -77,7 +77,7 @@ $mailto = rcmail_email_input_format(rcube_utils::get_input_value('_to', rcube_u $mailcc = rcmail_email_input_format(rcube_utils::get_input_value('_cc', rcube_utils::INPUT_POST, TRUE, $message_charset), true); $mailbcc = rcmail_email_input_format(rcube_utils::get_input_value('_bcc', rcube_utils::INPUT_POST, TRUE, $message_charset), true); -if ($EMAIL_FORMAT_ERROR) { +if ($EMAIL_FORMAT_ERROR && !$savedraft) { $OUTPUT->show_message('emailformaterror', 'error', array('email' => $EMAIL_FORMAT_ERROR)); $OUTPUT->send('iframe'); } |