Index: modules/search/search.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.module,v
retrieving revision 1.198
diff -u -F^f -r1.198 search.module
--- modules/search/search.module	17 Sep 2006 19:14:15 -0000	1.198
+++ modules/search/search.module	2 Oct 2006 17:02:49 -0000
@@ -1045,7 +1045,7 @@ function search_form_submit($form_id, $f
 /**
  * Output a search form for the search block and the theme's search box.
  */
-function search_box() {
+function search_box($form_id) {
   // Use search_keys instead of keys to avoid ID conflicts with the search block.
   $form[$form_id .'_keys'] = array(
     '#type' => 'textfield',
@@ -1286,6 +1286,8 @@ function theme_search_page($results, $ty
 
 function search_forms() {
   $forms['search_theme_form']['callback'] = 'search_box';
+  $forms['search_theme_form']['callback arguments'] = array('search_theme_form');
   $forms['search_block_form']['callback'] = 'search_box';
+  $forms['search_block_form']['callback arguments'] = array('search_block_form');
   return $forms;
 }
