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
This commit is contained in:
mensonge 2008-01-24 08:06:05 +00:00
parent 5db4bfe3c4
commit 37ce70760b

View file

@ -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