From 258a043a31ff002d83097e45b4504e59e6559d1d Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 19 Mar 2010 14:18:44 +0000 Subject: - hide threads related stuff if threads are not supported --- program/steps/settings/manage_folders.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') 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 ? ' •' : ' ') : $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))); } -- cgit v1.2.3