thomascube
2011-08-26 20ed3794f69fb3551622fe17830493f5feff6ba9
Don't attempt to list (and cache) folders if not connected

1 files modified
3 ■■■■■ changed files
program/include/rcube_imap.php 3 ●●●●● patch | view | raw | blame | history
program/include/rcube_imap.php
@@ -3074,6 +3074,9 @@
        if (isset($data['folders'])) {
            $a_folders = $data['folders'];
        }
        else if (!$this->conn->connected()) {
           return array();
        }
        else {
            // Server supports LIST-EXTENDED, we can use selection options
            $config = rcmail::get_instance()->config;