Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -2859,7 +2859,7 @@ |
2860 | 2860 | |
2861 | 2861 | # Workaround for PHP bug 35229 and similar |
2862 | 2862 | if ( !is_callable( $callback ) ) { |
2863 | | - throw new MWException( "Tag hook for $name is not callable\n" ); |
| 2863 | + throw new MWException( "Tag hook for $function is not callable\n" ); |
2864 | 2864 | } |
2865 | 2865 | $result = call_user_func_array( $callback, $allArgs ); |
2866 | 2866 | $found = true; |