summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas B <roundcube@gmail.com>2012-03-06 08:52:28 (GMT)
committerThomas B <roundcube@gmail.com>2012-03-06 08:52:28 (GMT)
commit1e6e9ac5ac37ae5b5892c5ce8961b54f77b5f557 (patch)
treea84ad015b4a748e116beb900ca9e37b7747b0b10
parent95c6c727fc16b2e2e86a4d978246aec086cebdf5 (diff)
downloadroundcubemail-plugins-kolab-1e6e9ac5ac37ae5b5892c5ce8961b54f77b5f557.tar.gz
Fix: use the right instance variable
-rw-r--r--plugins/kolab_folders/kolab_folders.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_folders/kolab_folders.php b/plugins/kolab_folders/kolab_folders.php
index 044f636..ab84c24 100644
--- a/plugins/kolab_folders/kolab_folders.php
+++ b/plugins/kolab_folders/kolab_folders.php
@@ -408,7 +408,7 @@ class kolab_folders extends rcube_plugin
// Code copied from rcube_imap::_list_mailboxes()
// Server supports LIST-EXTENDED, we can use selection options
// #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
$a_folders = $storage->conn->listMailboxes($root, $name,
NULL, array('SUBSCRIBED'));