? docs ? test Index: modules/comment/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v retrieving revision 1.617.2.3 diff -u -p -r1.617.2.3 comment.module --- modules/comment/comment.module 17 Sep 2008 06:22:38 -0000 1.617.2.3 +++ modules/comment/comment.module 1 Nov 2008 23:32:01 -0000 @@ -1600,7 +1600,7 @@ function theme_comment_view($comment, $n * Comments per page. * @ingroup forms */ -function comment_controls($mode = COMMENT_MODE_THREADED_EXPANDED, $order = COMMENT_ORDER_NEWEST_FIRST, $comments_per_page = 50) { +function comment_controls(&$form_state, $mode = COMMENT_MODE_THREADED_EXPANDED, $order = COMMENT_ORDER_NEWEST_FIRST, $comments_per_page = 50) { $form['mode'] = array('#type' => 'select', '#default_value' => $mode, '#options' => _comment_get_modes(),