aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-24 08:06:05 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-24 08:06:05 +0000
commit37ce70760b2d7fcf315b058a4de4de63e4510c97 (patch)
tree3f516fdf6c40442dea018f545f01a72ae7cc310b
parent5db4bfe3c42d846b607be5760f607a5b457f4681 (diff)
downloadsemanticscuttle-37ce70760b2d7fcf315b058a4de4de63e4510c97.tar.gz
semanticscuttle-37ce70760b2d7fcf315b058a4de4de63e4510c97.tar.bz2
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
-rw-r--r--register.php2
1 files changed, 1 insertions, 1 deletions
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