From 78f44d3447766029f676b8fbf62ff0e1d4d6333b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sun, 21 Sep 2008 07:18:24 +0000 Subject: [PATCH] * $name is not defined here --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 346be86bc2..1db5553f31 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -2859,7 +2859,7 @@ class Parser # Workaround for PHP bug 35229 and similar if ( !is_callable( $callback ) ) { - throw new MWException( "Tag hook for $name is not callable\n" ); + throw new MWException( "Tag hook for $function is not callable\n" ); } $result = call_user_func_array( $callback, $allArgs ); $found = true; -- 2.20.1