Commit 4dbaaefd authored by Steven Wittens's avatar Steven Wittens

Remove useless/broken #theme statement from search_theme_form

parent 99458217
......@@ -1042,9 +1042,6 @@ function search_box($form_id = 'search_theme_form') {
'#default_value' => '',
'#attributes' => array('title' => t('Enter the terms you wish to search for.')),
);
if ($form_id == 'search_theme_form') {
$form['#theme']['theme_search_theme_form'] = array();
}
$form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
return drupal_get_form($form_id, $form, 'search_box_form');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment