diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-03-17 18:30:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-03-17 18:30:14 +0000 |
commit | 4b635f6d0a21e9a1358a6f9540ef72a55682738b (patch) | |
tree | 2b789c7c25f3670f676c8e029249582497e3c060 /modules/search | |
parent | f6929dcca0870e6d38654a126fe4f6c422cd9936 (diff) | |
download | brdo-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.module | 4 |
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; } |