summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 18e8b304d..cadac359f 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -343,7 +343,6 @@ function comment_configure() {
'#title' => t('Viewing options'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
- '#weight' => 0,
);
$form['viewing_options']['comment_default_mode'] = array(
@@ -387,7 +386,6 @@ function comment_configure() {
'#title' => t('Posting settings'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
- '#weight' => 0,
);
$form['posting_settings']['comment_anonymous'] = array(
@@ -1333,7 +1331,7 @@ function comment_form($edit, $title = NULL) {
}
$form['comment_filter']['comment'] = array('#type' => 'textarea', '#title' => t('Comment'), '#rows' => 15, '#default_value' => $edit['comment'] ? $edit['comment'] : $user->signature, '#required' => TRUE);
- $form['comment_filter']['format'] = filter_form($edit['format'], 1);
+ $form['comment_filter']['format'] = filter_form($edit['format']);
$form['cid'] = array('#type' => 'value', '#value' => $edit['cid']);
$form['pid'] = array('#type' => 'value', '#value' => $edit['pid']);