summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefaan Lippens2011-11-20 11:28:49 (GMT)
committer Stefaan Lippens2011-11-20 11:28:49 (GMT)
commit1161a4d5bc5d18170e19c5bc5f3a64e9f6d1b73b (patch)
tree9091a8f8baa9007b5f6041e81b025895fe466dd2
parente514b60aa1d445264f7347e7877a2674dafff7e0 (diff)
Revert "Issue #1024370 by soxofaan, nineLemon, Pancho, slashrsm: Prevents CAPTCHA from failing in certain forms"
This reverts commit f56d53ec541bd4522976512f1bf26901ea8784b9. It was a wrong solution and caused other problems (e.g. Issue #1328272)
-rw-r--r--captcha.module2
1 files changed, 0 insertions, 2 deletions
diff --git a/captcha.module b/captcha.module
index 7144cd2..c926755 100644
--- a/captcha.module
+++ b/captcha.module
@@ -208,8 +208,6 @@ function captcha_element_process($element, &$form_state, $complete_form) {
else {
// Generate a new CAPTCHA session if we could not reuse one from a posted form.
$captcha_sid = _captcha_generate_captcha_session($this_form_id, CAPTCHA_STATUS_UNSOLVED);
- // Set $posted_form_id during the first rendering of the form.
- $posted_form_id = $this_form_id;
}
// Store CAPTCHA session ID as hidden field.