* $name is not defined here
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 21 Sep 2008 07:18:24 +0000 (07:18 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 21 Sep 2008 07:18:24 +0000 (07:18 +0000)
includes/parser/Parser.php

index 346be86..1db5553 100644 (file)
@@ -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;