From: Brion Vibber Date: Sun, 21 Nov 2004 08:58:46 +0000 (+0000) Subject: Fix some variable typos X-Git-Tag: 1.5.0alpha1~1289 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=ff89c2eddd89e6393bb6c8afdc0f92319df90287;p=lhc%2Fweb%2Fwiklou.git Fix some variable typos --- diff --git a/includes/Math.php b/includes/Math.php index bfe6da1dc2..ac5d5699cb 100644 --- a/includes/Math.php +++ b/includes/Math.php @@ -33,6 +33,7 @@ class MathRenderer { function render() { global $wgMathDirectory, $wgTmpDirectory, $wgInputEncoding; global $wgTexvc; + $fname = 'MathRenderer::render'; if( $this->mode == MW_MATH_SOURCE ) { # No need to render or parse anything more! @@ -95,11 +96,11 @@ class MathRenderer { $this->conservativeness = 0; $this->mathml = NULL; } else if ($retval == 'X') { - $outhtml = NULL; + $this->html = NULL; $this->mathml = substr ($contents, 33); $this->conservativeness = 0; } else if ($retval == '+') { - $this->outhtml = NULL; + $this->html = NULL; $this->mathml = NULL; $this->conservativeness = 0; } else { @@ -132,8 +133,8 @@ class MathRenderer { 'math_inputhash' => $md5_sql, 'math_outputhash' => $outmd5_sql, 'math_html_conservativeness' => $this->conservativeness, - 'math_html' => $outhtml, - 'math_mathml' => $mathml, + 'math_html' => $this->html, + 'math_mathml' => $this->mathml, ), $fname, array( 'IGNORE' ) );