From: Brion Vibber Date: Mon, 3 Mar 2008 02:48:38 +0000 (+0000) Subject: Correction to r31475 -- works with PHP 5.1 now. X-Git-Tag: 1.31.0-rc.0~49277 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=3fb43ed2393ff314c5f617bd2b95732039f7f196;p=lhc%2Fweb%2Fwiklou.git Correction to r31475 -- works with PHP 5.1 now. --- 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"; }