summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-19 14:18:44 +0000
committeralecpl <alec@alec.pl>2010-03-19 14:18:44 +0000
commit258a043a31ff002d83097e45b4504e59e6559d1d (patch)
treeea6f5fbe9852af68252b9f9d582ac5e77d8d9c9c /program/steps/settings
parent02f7cb88515d1dba3ed84468dded23d04cd2b889 (diff)
- hide threads related stuff if threads are not supported
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/manage_folders.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc
index fa5a4db70..9202777f7 100644
--- a/program/steps/settings/manage_folders.inc
+++ b/program/steps/settings/manage_folders.inc
@@ -294,7 +294,7 @@ function rcube_subscription_form($attrib)
$table->add('msgcount', ($folder['virtual'] ? '' : $IMAP->messagecount($folder['id']))); // XXX: Use THREADS or ALL?
$table->add('subscribed', ($protected || $folder['virtual']) ? ($subscribed ? '&nbsp;&#x2022;' : '&nbsp;') :
$checkbox_subscribe->show(($subscribed ? $folder_utf8 : ''), array('value' => $folder_utf8)));
- if ($IMAP->get_capability('thread=references')) {
+ if ($threading_supported) {
$table->add('threaded',
$checkbox_threaded->show(($threaded ? $folder_utf8 : ''), array('value' => $folder_utf8)));
}