From: Sam Reed Date: Tue, 19 Jan 2010 15:32:49 +0000 (+0000) Subject: Revert r61251 as r61252 fixes the extension (so thats presumably "Wrong") X-Git-Tag: 1.31.0-rc.0~38203 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=099f21929b745aeba49f176e6cf8e5ec523fc9b2;p=lhc%2Fweb%2Fwiklou.git Revert r61251 as r61252 fixes the extension (so thats presumably "Wrong") --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 96a49eaa29..0e2a5f88ee 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3341,7 +3341,7 @@ class Parser throw new MWException( "Tag hook for $name is not callable\n" ); } $output = call_user_func_array( $this->mTagHooks[$name], - array( $content, $attributes, &$this, $frame ) ); + array( $content, $attributes, $this, $frame ) ); } elseif( isset( $this->mFunctionTagHooks[$name] ) ) { list( $callback, $flags ) = $this->mFunctionTagHooks[$name]; if( !is_callable( $callback ) )