diff modules/comment/comment.module @ 19:3edae6ecd6c6 6.9

Drupal 6.9
author Franck Deroche <franck@defr.org>
date Thu, 15 Jan 2009 10:15:56 +0100
parents 589fb7c02327
children
line wrap: on
line diff
--- a/modules/comment/comment.module	Tue Dec 23 14:32:55 2008 +0100
+++ b/modules/comment/comment.module	Thu Jan 15 10:15:56 2009 +0100
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment.module,v 1.617.2.3 2008/09/17 06:22:38 goba Exp $
+// $Id: comment.module,v 1.617.2.4 2009/01/06 17:34:54 goba Exp $
 
 /**
  * @file
@@ -1600,7 +1600,7 @@
  *   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(),