Commit 6c033e80 authored by wundo's avatar wundo

Fixing #152020 .

parent f0b7ebb1
......@@ -194,6 +194,8 @@ function captcha_form_alter($form_id, &$form) {
$form = array_merge($form,$result['form']);
if(!isset($form['#validate']))
$form['#validate'] = array();
$form['#validate'] += array('captcha_validate' => array());
$form['#pre_render'] = array('captcha_prerender');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment