summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/steps/settings/edit_folder.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc
index 3a7c0d946..4538a5103 100644
--- a/program/steps/settings/edit_folder.inc
+++ b/program/steps/settings/edit_folder.inc
@@ -40,8 +40,8 @@ function rcube_folder_form($attrib)
$special = (strlen($mbox_imap) && in_array($mbox_imap, (array) $RCMAIL->config->get('default_imap_folders')));
$protected = ($special && $RCMAIL->config->get('protect_default_folders'));
$threading_supported = $RCMAIL->imap->get_capability('thread=references')
- || $IMAP->get_capability('thread=orderedsubject')
- || $IMAP->get_capability('thread=refs');
+ || $RCMAIL->imap->get_capability('thread=orderedsubject')
+ || $RCMAIL->imap->get_capability('thread=refs');
// Get mailbox stats (messages count, etc.), mailbox name and parent
if (strlen($mbox)) {