- Fix operations on messages in unsubscribed folders (#1487107)

This commit is contained in:
alecpl
2010-11-08 12:55:48 +00:00
parent 7fcb56b5b6
commit 3bb9b5212b
2 changed files with 4 additions and 3 deletions

View File

@@ -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