diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-03-29 23:19:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-03-29 23:19:33 +0000 |
commit | 630277cc89546d8ba913bfec0a6bb3daedd4fe47 (patch) | |
tree | c0f7409a2ac94964d3dd8fcfa6671680fb58d324 | |
parent | f3c839634d25dad4cc9cf36a0c570633526682d0 (diff) | |
download | brdo-630277cc89546d8ba913bfec0a6bb3daedd4fe47.tar.gz brdo-630277cc89546d8ba913bfec0a6bb3daedd4fe47.tar.bz2 |
- Patch #110888 by Heine: fixed drupal_alter glitch().
-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; } /** |