Aleksander Machniak
2015-01-03 ed32835aba6acd8445dd067c3ed8c96cb1092d25
Fix bug where sent message was saved in Sent folder even if disabled by user (#1490208)
2 files modified
7 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/steps/mail/sendmail.inc 6 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -3,6 +3,7 @@
- Fix bug where some valid text in a message was handled as uuencoded attachment
- Fix wrong icon for download button in classic skin
- Fix bug where sent message was saved in Sent folder even if disabled by user (#1490208)
RELEASE 1.0.4
-------------
program/steps/mail/sendmail.inc
@@ -541,8 +541,10 @@
    $store_target = $drafts_mbox;
}
else if (!$RCMAIL->config->get('no_save_sent_messages')) {
    $store_target = rcube_utils::get_input_value('_store_target', rcube_utils::INPUT_POST);
    if (!strlen($store_target)) {
    if (isset($_POST['_store_target'])) {
        $store_target = rcube_utils::get_input_value('_store_target', rcube_utils::INPUT_POST);
    }
    else {
        $store_target = $RCMAIL->config->get('sent_mbox');
    }
}