mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-22 15:56:58 +01:00
- Fix operations on messages in unsubscribed folders (#1487107)
This commit is contained in:
@@ -2462,7 +2462,7 @@ class rcube_imap
|
||||
$mailbox = $this->mod_mailbox($mbox_name);
|
||||
|
||||
// make sure mailbox exists
|
||||
if ($this->mailbox_exists($mbox_name, true)) {
|
||||
if ($this->mailbox_exists($mbox_name)) {
|
||||
if ($is_file)
|
||||
$saved = $this->conn->appendFromFile($mailbox, $message, $headers);
|
||||
else
|
||||
@@ -2500,7 +2500,7 @@ class rcube_imap
|
||||
return false;
|
||||
|
||||
// make sure mailbox exists
|
||||
if ($to_mbox != 'INBOX' && !$this->mailbox_exists($tbox, true)) {
|
||||
if ($to_mbox != 'INBOX' && !$this->mailbox_exists($tbox)) {
|
||||
if (in_array($tbox, $this->default_folders))
|
||||
$this->create_mailbox($tbox, true);
|
||||
else
|
||||
@@ -2581,7 +2581,7 @@ class rcube_imap
|
||||
}
|
||||
|
||||
// make sure mailbox exists
|
||||
if ($to_mbox != 'INBOX' && !$this->mailbox_exists($tbox, true)) {
|
||||
if ($to_mbox != 'INBOX' && !$this->mailbox_exists($tbox)) {
|
||||
if (in_array($tbox, $this->default_folders))
|
||||
$this->create_mailbox($tbox, true);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user