r100465 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100464‎ | r100465 | r100466 >
Date:22:18, 21 October 2011
Author:platonides
Status:ok
Tags:
Comment:
Fix fatal: Fatal error: func_get_args(): Can't be used as a function parameter in includes/context/ContextSource.php on line 121
Modified paths:
  • /trunk/phase3/includes/context/ContextSource.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/context/ContextSource.php
@@ -118,7 +118,8 @@
119119 * @return Message object
120120 */
121121 public function msg( /* $args */ ) {
122 - return call_user_func_array( array( $this->getContext(), 'msg' ), func_get_args() );
 122+ $args = func_get_args();
 123+ return call_user_func_array( array( $this->getContext(), 'msg' ), $args );
123124 }
124125 }
125126

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100430* Call Linker methods statically...ialex16:54, 21 October 2011

Status & tagging log