Skip to content
Snippets Groups Projects
Commit 9d6d9357 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#280319 by robertDouglass: search_box_form_validate() is referenced in search...

#280319 by robertDouglass: search_box_form_validate() is referenced in search form, but does not exist
parent a8594864
No related branches found
No related tags found
No related merge requests found
...@@ -1072,7 +1072,6 @@ function search_box(&$form_state, $form_id) { ...@@ -1072,7 +1072,6 @@ function search_box(&$form_state, $form_id) {
); );
$form['submit'] = array('#type' => 'submit', '#value' => t('Search')); $form['submit'] = array('#type' => 'submit', '#value' => t('Search'));
$form['#submit'][] = 'search_box_form_submit'; $form['#submit'][] = 'search_box_form_submit';
$form['#validate'][] = 'search_box_form_validate';
return $form; return $form;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment