From: Alexandre Emsenhuber Date: Mon, 14 Nov 2011 18:31:44 +0000 (+0000) Subject: Fix for r103001: using the object is actually a good idea X-Git-Tag: 1.31.0-rc.0~26510 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=d3fdaac14b5d592a437bd593d738695b437822d4;p=lhc%2Fweb%2Fwiklou.git Fix for r103001: using the object is actually a good idea --- diff --git a/includes/diff/DifferenceEngine.php b/includes/diff/DifferenceEngine.php index a90fe764f0..1bba4ca9ce 100644 --- a/includes/diff/DifferenceEngine.php +++ b/includes/diff/DifferenceEngine.php @@ -530,7 +530,7 @@ class DifferenceEngine extends ContextSource { $parserOutput = false; if ( $useParserCache ) { - $parserOutput = ParserCache::singleton()->get( $wikiPage, $out->parserOptions() ); + $parserOutput = ParserCache::singleton()->get( $wikiPage, $parserOptions ); } if( $parserOutput ) {