Index: branches/REL1_18/phase3/includes/SpecialPage.php |
— | — | @@ -694,7 +694,12 @@ |
695 | 695 | * @see wfMessage |
696 | 696 | */ |
697 | 697 | public function msg( /* $args */ ) { |
698 | | - return call_user_func_array( array( $this->getContext(), 'msg' ), func_get_args() ); |
| 698 | + // Note: can't use func_get_args() directly as second or later item in |
| 699 | + // a parameter list until PHP 5.3 or you get a fatal error. |
| 700 | + // Works fine as the first parameter, which appears elsewhere in the |
| 701 | + // code base. Sighhhh. |
| 702 | + $args = func_get_args(); |
| 703 | + return call_user_func_array( array( $this->getContext(), 'msg' ), $args ); |
699 | 704 | } |
700 | 705 | |
701 | 706 | /** |