From: Niklas Laxström Date: Sun, 21 Sep 2008 07:18:24 +0000 (+0000) Subject: * $name is not defined here X-Git-Tag: 1.31.0-rc.0~45187 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=78f44d3447766029f676b8fbf62ff0e1d4d6333b;p=lhc%2Fweb%2Fwiklou.git * $name is not defined here --- 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;