From: jordan Date: Tue, 4 Jan 2011 09:28:27 +0000 (+0000) Subject: Fix local variable name of the captcha check form X-Git-Tag: live~468 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/8814fb6f8c8476f673102c1ebe7b5b2d3cf7275a Fix local variable name of the captcha check form git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@666 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum_modules/akismet/startup.py b/forum_modules/akismet/startup.py index 40b13d5..d587ea1 100644 --- a/forum_modules/akismet/startup.py +++ b/forum_modules/akismet/startup.py @@ -52,7 +52,7 @@ def check_spam(param, comment_type): captcha_checked = False if RECAPTCHA_PUB_KEY and RECAPTCHA_PRIV_KEY: - if form.is_valid(): + if captcha_form.is_valid(): captcha_checked = True if not captcha_checked: