Revert r61251 as r61252 fixes the extension (so thats presumably "Wrong")

This commit is contained in:
Sam Reed 2010-01-19 15:32:49 +00:00
parent 510746af04
commit 099f21929b

View file

@ -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 ) )