summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 5f93be089..ab225993f 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -935,7 +935,8 @@ function search_box($form, &$form_state, $form_id) {
'#default_value' => '',
'#attributes' => array('title' => t('Enter the terms you wish to search for.')),
);
- $form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
+ $form['actions'] = array('#type' => 'actions');
+ $form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Search'));
$form['#submit'][] = 'search_box_form_submit';
return $form;