Commit df943a7b authored by Fabiano Sant\'Ana's avatar Fabiano Sant\'Ana
Browse files

*** empty log message ***

parent f0790de8
......@@ -228,8 +228,8 @@ function captcha_prerender($form_id, $form) {
$seed = $form['#post']['form_token'];
$_SESSION['captcha'][$seed]['value'] = $_SESSION['captcha'][$seed]['new_value'];
if($_SESSION['captcha'][$seed]['success']) {
unset($form['captcha_challenge']);
unset($_SESSION['captcha'][$seed]);
unset($form['captcha_challenge']);
unset($_SESSION['captcha'][$seed]);
}
}
......
Supports Markdown
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