From: mensonge Date: Thu, 24 Jan 2008 08:06:05 +0000 (+0000) Subject: bug fix: correct behaviour of antispam question at registering X-Git-Tag: v0.88~43 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=37ce70760b2d7fcf315b058a4de4de63e4510c97;p=semanticscuttle.git 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 --- 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