Remove useless/broken #theme statement from search_theme_form
parent
994582171e
commit
4dbaaefd6d
|
@ -1042,9 +1042,6 @@ function search_box($form_id = 'search_theme_form') {
|
||||||
'#default_value' => '',
|
'#default_value' => '',
|
||||||
'#attributes' => array('title' => t('Enter the terms you wish to search for.')),
|
'#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'));
|
$form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
|
||||||
|
|
||||||
return drupal_get_form($form_id, $form, 'search_box_form');
|
return drupal_get_form($form_id, $form, 'search_box_form');
|
||||||
|
|
Loading…
Reference in New Issue