From df5e9a91a7e48125cf5e5cc026f55cec3682be60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Thu, 23 Sep 2010 19:15:58 +0000 Subject: [PATCH] (bug 25273) Message::params() triggers a fatal error. Patch by hashar. --- includes/Message.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/Message.php b/includes/Message.php index df43339dbd..72232ec97d 100644 --- a/includes/Message.php +++ b/includes/Message.php @@ -127,7 +127,8 @@ class Message { * @return Message: $this */ public function params( /*...*/ ) { - $this->parameters = array_merge( $this->parameters, array_values( func_get_args() ) ); + $args_values = array_values( func_get_args() ); + $this->parameters = array_merge( $this->parameters, $args_values ); return $this; } -- 2.20.1