Localisation updates (extensions) from Betawiki (2008-06-25 22:11 CEST)
[toast/cookiecaptcha.git] / MathCaptcha.class.php
index db506a335451b784ea1764057a202942fcf25590..66567e03503495846d449beb17a4e463030ce78c 100644 (file)
@@ -11,6 +11,7 @@ class MathCaptcha extends SimpleCaptcha {
                list( $sum, $answer ) = $this->pickSum();
                $index = $this->storeCaptcha( array('answer' => $answer ) );
                $resultArr['captcha']['type'] = 'math';
+               $resultArr['captcha']['mime'] = 'text/tex';
                $resultArr['captcha']['id'] = $index;
                $resultArr['captcha']['question'] = $sum;
        }