From 97ab876991bc6d4ed7b8e3f95728d6b22f3fb27b Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 21 Oct 2011 22:18:02 +0000 Subject: [PATCH] Fix fatal: Fatal error: func_get_args(): Can't be used as a function parameter in includes/context/ContextSource.php on line 121 --- includes/context/ContextSource.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/context/ContextSource.php b/includes/context/ContextSource.php index 3ab9168f2a..60e2400c21 100644 --- a/includes/context/ContextSource.php +++ b/includes/context/ContextSource.php @@ -118,7 +118,8 @@ abstract class ContextSource implements IContextSource { * @return Message object */ public function msg( /* $args */ ) { - return call_user_func_array( array( $this->getContext(), 'msg' ), func_get_args() ); + $args = func_get_args(); + return call_user_func_array( array( $this->getContext(), 'msg' ), $args ); } } -- 2.20.1