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:
parent
5db4bfe3c4
commit
37ce70760b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ if ($_POST['submitted']) {
|
||||||
$tplVars['error'] = T_('E-mail address is not valid. Please try again.');
|
$tplVars['error'] = T_('E-mail address is not valid. Please try again.');
|
||||||
|
|
||||||
// Check if antispam answer is valid
|
// 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.');
|
$tplVars['error'] = T_('Antispam answer is not valid. Please try again.');
|
||||||
|
|
||||||
// Register details
|
// Register details
|
||||||
|
|
Loading…
Reference in a new issue