Fix: use the right instance variable
This commit is contained in:
parent
95c6c727fc
commit
1e6e9ac5ac
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ class kolab_folders extends rcube_plugin
|
||||||
// Code copied from rcube_imap::_list_mailboxes()
|
// Code copied from rcube_imap::_list_mailboxes()
|
||||||
// Server supports LIST-EXTENDED, we can use selection options
|
// Server supports LIST-EXTENDED, we can use selection options
|
||||||
// #1486225: Some dovecot versions returns wrong result using LIST-EXTENDED
|
// #1486225: Some dovecot versions returns wrong result using LIST-EXTENDED
|
||||||
if (!$this->rc->config->get('imap_force_lsub') && $imap->get_capability('LIST-EXTENDED')) {
|
if (!$this->rc->config->get('imap_force_lsub') && $storage->get_capability('LIST-EXTENDED')) {
|
||||||
// This will also set mailbox options, LSUB doesn't do that
|
// This will also set mailbox options, LSUB doesn't do that
|
||||||
$a_folders = $storage->conn->listMailboxes($root, $name,
|
$a_folders = $storage->conn->listMailboxes($root, $name,
|
||||||
NULL, array('SUBSCRIBED'));
|
NULL, array('SUBSCRIBED'));
|
||||||
|
|
Loading…
Add table
Reference in a new issue