From 37ce70760b2d7fcf315b058a4de4de63e4510c97 Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 24 Jan 2008 08:06:05 +0000 Subject: bug fix: correct behaviour of antispam question at registering git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@26 b3834d28-1941-0410-a4f8-b48e95affb8f --- register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register.php b/register.php index 956efba..9cd6f39 100644 --- a/register.php +++ b/register.php @@ -45,7 +45,7 @@ if ($_POST['submitted']) { $tplVars['error'] = T_('E-mail address is not valid. Please try again.'); // Check if antispam answer is valid - } elseif (strcmp($antispamAnswer, $GLOBALS['antispamAnswer']) != 0) { + } elseif (strcmp($_POST['antispamAnswer'], $GLOBALS['antispamAnswer']) != 0) { $tplVars['error'] = T_('Antispam answer is not valid. Please try again.'); // Register details -- cgit v1.2.3