r41087 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41086‎ | r41087 | r41088 >
Date:07:18, 21 September 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* $name is not defined here
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -2859,7 +2859,7 @@
28602860
28612861 # Workaround for PHP bug 35229 and similar
28622862 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" );
28642864 }
28652865 $result = call_user_func_array( $callback, $allArgs );
28662866 $found = true;