summaryrefslogtreecommitdiff
path: root/modules/search/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search/search.module')
-rw-r--r--modules/search/search.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 37786dc66..177793015 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -1052,7 +1052,9 @@ function search_box($form_id) {
// Always go to the search page since the search form is not guaranteed to be
// on every page.
$form['#action'] = url('search/node');
- $form['#base'] = 'search_box_form';
+ $form['#submit']['search_box_form_submit'] = array();
+ $form['#validate']['search_box_form_validate'] = array();
+ $form['#theme'] = 'search_box_form';
return $form;
}