From 1ce5518c0b4bf749d2438ac73bea6a7fb88f170d Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 2 Dec 2005 04:29:57 +0000 Subject: [PATCH] Fixed extension function parameter passing --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 7760860ac2..b61449bff5 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -435,7 +435,7 @@ class Parser $full_tag = $ext_tags[$tag][$marker]; $params = $ext_params[$tag][$marker]; if ( $render ) - $ext_content[$tag][$marker] = call_user_func_array( $callback, array( $content, $params, $this ) ); + $ext_content[$tag][$marker] = call_user_func_array( $callback, array( $content, $params, &$this ) ); else { if ( is_null( $content ) ) { // Empty element tag -- 2.20.1