From 695161a6f113ad9f5bede3c5821113a1654abe8e Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 26 Sep 2008 21:35:03 +0000 Subject: [PATCH] Fix totally broken last commit, misread the existing code --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index ec59ed7671..e241bcaf71 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -687,7 +687,7 @@ function wfMsgExt( $key, $options ) { $args = func_get_args(); array_shift( $args ); array_shift( $args ); - $options = array($options); + $options = (array)$options; foreach( $options as $arrayKey => $option ) { if( !preg_match( '/^[0-9]+|language$/', $arrayKey ) ) { -- 2.20.1