From 3fb43ed2393ff314c5f617bd2b95732039f7f196 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 3 Mar 2008 02:48:38 +0000 Subject: [PATCH] Correction to r31475 -- works with PHP 5.1 now. --- includes/EditPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 4b3eea5f71..f2a73274e3 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1859,7 +1859,8 @@ END $cssId = $tool['id'], ); - $paramList = implode( ',', array_map( 'Xml::encodeJsVar', $params ) ); + $paramList = implode( ',', + array_map( array( 'Xml', 'encodeJsVar' ), $params ) ); $toolbar.="addButton($paramList);\n"; } -- 2.20.1