Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'program/actions/mail/compose.php')
-rw-r--r--program/actions/mail/compose.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/actions/mail/compose.php b/program/actions/mail/compose.php
index f6f9f0a87..1ca73f75c 100644
--- a/program/actions/mail/compose.php
+++ b/program/actions/mail/compose.php
@@ -269,12 +269,12 @@ class rcmail_action_mail_compose extends rcmail_action_mail_index
$options['dsn_enabled'] = true;
}
- self::$COMPOSE['mailbox'] = $info['folder'];
+ self::$COMPOSE['mailbox'] = $info['folder'] ?? null;
// Save the sent message in the same folder of the message being replied to
if (
$rcmail->config->get('reply_same_folder')
- && ($sent_folder = $info['folder'])
+ && ($sent_folder = self::$COMPOSE['mailbox'])
&& rcmail_sendmail::check_sent_folder($sent_folder, false)
) {
self::$COMPOSE['param']['sent_mbox'] = $sent_folder;