alecpl
2010-11-24 576b330ebd2541d89319ca4ef04e2fde172d2cc8
- Temporarily commented out \Noselect flag checking in select(), because of problems with Courier


1 files modified
5 ■■■■ changed files
program/include/rcube_imap_generic.php 5 ●●●● patch | view | raw | blame | history
program/include/rcube_imap_generic.php
@@ -808,13 +808,16 @@
        if ($this->selected == $mailbox) {
            return true;
        }
/*
    Temporary commented out because Courier returns \Noselect for INBOX
    Requires more investigation
        if (is_array($this->data['LIST']) && is_array($opts = $this->data['LIST'][$mailbox])) {
            if (in_array('\\Noselect', $opts)) {
                return false;
            }
        }
*/
        list($code, $response) = $this->execute('SELECT', array($this->escape($mailbox)));
        if ($code == self::ERROR_OK) {