summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index e33484cb7..2a1f4288f 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -2773,7 +2773,7 @@ class rcube_imap
return true;
}
else {
- $a_folders = $this->conn->listMailboxes($this->mod_mailbox(''), $mbox_mbox);
+ $a_folders = $this->conn->listMailboxes($this->mod_mailbox(''), $mbox_name);
if (is_array($a_folders) && in_array($this->mod_mailbox($mbox_name), $a_folders))
return true;