diff --git a/modules/search.module b/modules/search.module index aaca65e05fc..06af395b127 100644 --- a/modules/search.module +++ b/modules/search.module @@ -1034,9 +1034,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');