Aleksander Machniak
2013-07-10 bd284693027196517545616883d5cc43a3f0d39e
program/lib/Roundcube/rcube_imap_generic.php
@@ -1333,9 +1333,8 @@
                        $folders[$mailbox] = array();
                    }
                    // store LSUB options only if not empty, this way
                    // we can detect a situation when LIST doesn't return specified folder
                    if (!empty($opts) || $cmd == 'LIST') {
                    // store folder options
                    if ($cmd == 'LIST') {
                        // Add to options array
                        if (empty($this->data['LIST'][$mailbox]))
                            $this->data['LIST'][$mailbox] = $opts;