diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/comment.module | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 0efe2f6c7..4065f4017 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -374,7 +374,7 @@ function comment_link($type, $node = NULL, $teaser = FALSE) { return $links; } -function comment_form_alter($form, $form_id) { +function comment_form_alter(&$form, $form_id) { if ($form_id == 'node_type_form' && isset($form['identity']['type'])) { $form['workflow']['comment'] = array( '#type' => 'radios', @@ -403,7 +403,6 @@ function comment_form_alter($form, $form_id) { ); } } - return $form; } /** |