function answers_start_ask_submit in Answers 7.2
Same name and namespace in other branches
- 6 includes/answers.search.inc \answers_start_ask_submit()
- 7 includes/answers.search.inc \answers_start_ask_submit()
1 string reference to 'answers_start_ask_submit'
- answers_start_ask_form in includes/
answers.search.inc
File
- includes/
answers.search.inc, line 54 - Search functions for the 'Answers' module
Code
function answers_start_ask_submit($form, &$form_state) {
$question = check_plain($form_state['values']['question']);
$form_state['redirect'] = array(
'questions/continue_ask',
array(
'query' => array(
'keys' => $question,
),
),
);
}