From: Platonides Date: Fri, 21 Oct 2011 22:18:02 +0000 (+0000) Subject: Fix fatal: Fatal error: func_get_args(): Can't be used as a function parameter in... X-Git-Tag: 1.31.0-rc.0~26968 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=97ab876991bc6d4ed7b8e3f95728d6b22f3fb27b;p=lhc%2Fweb%2Fwiklou.git Fix fatal: Fatal error: func_get_args(): Can't be used as a function parameter in includes/context/ContextSource.php on line 121 --- 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 ); } }