From 8814fb6f8c8476f673102c1ebe7b5b2d3cf7275a Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 4 Jan 2011 09:28:27 +0000 Subject: [PATCH] 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 --- forum_modules/akismet/startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5