Undefined index: recaptcha_challenge_field in recaptcha.module on line 203.

beginner - April 1, 2009 - 07:43
Project:reCAPTCHA
Version:6.x-1.x-dev
Component:reCAPTCHA Captcha
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Undefined index: recaptcha_challenge_field in recaptcha.module on line 203.
Undefined index: recaptcha_response_field in recaptcha.module on line 204.

I couldn't reproduce the error myself, but I see such errors regularly in my logs. I think those are created by register-spam-bots who are not configured to include the said fields!

We could at least repress the error message, and, maybe, add an entry in the logs about recaptcha having defeated another spambot! :)

#1

JoshuaRogers - May 11, 2009 - 05:20

I believe that this should fix the problem.

AttachmentSize
420286_1_Undefined_Index_Warning.patch 540 bytes

#2

JoshuaRogers - May 11, 2009 - 05:20
Status:active» needs review
 
 

Drupal is a registered trademark of Dries Buytaert.