ConfirmEdit: Consistency tweak
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 28 Feb 2008 21:23:26 +0000 (21:23 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 28 Feb 2008 21:23:26 +0000 (21:23 +0000)
MathCaptcha.class.php

index a51e7fae6b857ab4f987f2613eca0643a698b6dd..db506a335451b784ea1764057a202942fcf25590 100644 (file)
@@ -12,7 +12,7 @@ class MathCaptcha extends SimpleCaptcha {
                $index = $this->storeCaptcha( array('answer' => $answer ) );
                $resultArr['captcha']['type'] = 'math';
                $resultArr['captcha']['id'] = $index;
-               $resultArr['captcha']['sum'] = $sum;
+               $resultArr['captcha']['question'] = $sum;
        }
        
        /** Produce a nice little form */