Skip to content

Commit

Permalink
Fix displaying MBOX_USERSPECIAL mailboxes (Bug #14423).
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 12, 2016
1 parent 40365d2 commit 58a232b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imp/lib/Imap/Config.php
Expand Up @@ -347,8 +347,8 @@ public function __get($name)
break;

case 'user_special_mboxes':
$out = (isset($out[IMP_Mailbox::MBOX_USERSPECIAL]) && is_array($out[IMP_Mailbox::MBOX_USERSPECIAL]))
? $out[IMP_Mailbox::MBOX_USERSPECIAL]
$out = (isset($this->_config['special_mboxes'][IMP_Mailbox::MBOX_USERSPECIAL]) && is_array($this->_config['special_mboxes'][IMP_Mailbox::MBOX_USERSPECIAL]))
? $this->_config['special_mboxes'][IMP_Mailbox::MBOX_USERSPECIAL]
: array();
break;
}
Expand Down

0 comments on commit 58a232b

Please sign in to comment.