Skip to content
Snippets Groups Projects
Commit 4dbaaefd authored by Steven Wittens's avatar Steven Wittens
Browse files

Remove useless/broken #theme statement from search_theme_form

parent 99458217
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment