summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-03-17 18:30:14 +0000
committerDries Buytaert <dries@buytaert.net>2007-03-17 18:30:14 +0000
commit4b635f6d0a21e9a1358a6f9540ef72a55682738b (patch)
tree2b789c7c25f3670f676c8e029249582497e3c060 /modules/search
parentf6929dcca0870e6d38654a126fe4f6c422cd9936 (diff)
downloadbrdo-4b635f6d0a21e9a1358a6f9540ef72a55682738b.tar.gz
brdo-4b635f6d0a21e9a1358a6f9540ef72a55682738b.tar.bz2
- Patch #128081 by Eaton: remove #base, paving the path for a simpler form API.
Diffstat (limited to 'modules/search')
-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;
}