summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-05 10:53:47 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-05 10:53:47 +0000
commit8d7ff5aea28c96856ee9b66e7d85bfd4ba0c39f9 (patch)
tree97f18b320b59236dd64dc618dde4200651c8122b /modules/comment
parent15299efc895fcc756bf4101340a735afa7c9f5ba (diff)
downloadbrdo-8d7ff5aea28c96856ee9b66e7d85bfd4ba0c39f9.tar.gz
brdo-8d7ff5aea28c96856ee9b66e7d85bfd4ba0c39f9.tar.bz2
- Patch #39743 by merlinofchaos: critical bugfix: fixed comment ordering setting.
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 63c5284df..fd4d35135 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -346,7 +346,7 @@ function comment_configure() {
$form['viewing_options']['comment_default_order'] = array(
'#type' => 'radios',
'#title' => t('Default display order'),
- '#default_value' => variable_get('Default display order', COMMENT_ORDER_NEWEST_FIRST),
+ '#default_value' => variable_get('comment_default_order', COMMENT_ORDER_NEWEST_FIRST),
'#options' => _comment_get_orders(),
'#description' => t('The default sorting for new users and anonymous users while viewing comments. These users may change their view using the comment control panel. For registered users, this change is remembered as a persistent user preference.'),
);