r11907 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r11906‎ | r11907 | r11908 >
Date:04:29, 2 December 2005
Author:timstarling
Status:old
Tags:
Comment:
Fixed extension function parameter passing
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -435,7 +435,7 @@
436436 $full_tag = $ext_tags[$tag][$marker];
437437 $params = $ext_params[$tag][$marker];
438438 if ( $render )
439 - $ext_content[$tag][$marker] = call_user_func_array( $callback, array( $content, $params, $this ) );
 439+ $ext_content[$tag][$marker] = call_user_func_array( $callback, array( $content, $params, &$this ) );
440440 else {
441441 if ( is_null( $content ) ) {
442442 // Empty element tag

Status & tagging log