=== modified file 'modules/search/search.module' --- modules/search/search.module 2007-09-05 08:39:57 +0000 +++ modules/search/search.module 2007-09-23 10:14:05 +0000 @@ -949,9 +949,6 @@ function search_box(&$form_state, $form_ '#attributes' => array('title' => t('Enter the terms you wish to search for.')), ); $form['submit'] = array('#type' => 'submit', '#value' => t('Search')); - // Always go to the search page since the search form is not guaranteed to be - // on every page. - $form['#action'] = url('search/node'); $form['#submit'][] = 'search_box_form_submit'; $form['#validate'][] = 'search_box_form_validate'; @@ -964,7 +961,6 @@ function search_box(&$form_state, $form_ function search_box_form_submit($form, &$form_state) { $form_id = $form['form_id']['#value']; $form_state['redirect'] = 'search/node/'. trim($form_state['values'][$form_id .'_keys']); - return; } /**