r74450 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74449‎ | r74450 | r74451 >
Date:18:52, 7 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
small fix
Modified paths:
  • /trunk/extensions/Validator/includes/ParserHook.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Validator/includes/ParserHook.php
@@ -371,7 +371,8 @@
372372 }
373373
374374 public function runHook() {
375 - return call_user_func_array( array( new $this->class(), $this->method ), func_get_args() );
 375+ $args = func_get_args();
 376+ return call_user_func_array( array( new $this->class(), $this->method ), $args );
376377 }
377378
378379 }
\ No newline at end of file

Status & tagging log