]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
bug fix: correct behaviour of antispam question at registering
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 24 Jan 2008 08:06:05 +0000 (08:06 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 24 Jan 2008 08:06:05 +0000 (08:06 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@26 b3834d28-1941-0410-a4f8-b48e95affb8f

register.php

index 956efba9e6afc5b6c116402fbdbb32df59f37c87..9cd6f39b2de3884bed28041e837b6ac923ae1ec5 100644 (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