Skip to content

Commit

Permalink
- fix typo in mailbox_exists()
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Apr 23, 2010
1 parent 373747b commit d824aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/include/rcube_imap.php
Expand Up @@ -2773,7 +2773,7 @@ function mailbox_exists($mbox_name, $subscription=false)
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;
Expand Down

0 comments on commit d824aca

Please sign in to comment.