summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-12-18 16:42:38 +0000
committeralecpl <alec@alec.pl>2010-12-18 16:42:38 +0000
commit591dd80d22915ac44a5a36374f1c5acd279feb12 (patch)
tree6529e1abc6f78920c524df8ab0e09eea67d4d981 /program
parentf3c78204637c08c1112f190279e3a7c17b1efaf6 (diff)
- Fix Fatal error: Call to a member function get_capability()...
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)) {