summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-11-08 12:55:48 +0000
committeralecpl <alec@alec.pl>2010-11-08 12:55:48 +0000
commit3bb9b5212bc9f486ee4d3d8d2d07593cffeb11ae (patch)
tree3626c31bf821aa203709201f89c42eb682207880 /program
parent7fcb56b5b62877f074a8f6760f69a11f9ff40566 (diff)
- Fix operations on messages in unsubscribed folders (#1487107)
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index aa6521af8..acf0aa0e0 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -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