* addresses https://bugs.launchpad.net/firefogg/+bug/456384
[lhc/web/wiklou.git] / js2 / mwEmbed / php / maintenance / mergeJavascriptMsg.php
index c126fc8..a9c99f1 100644 (file)
@@ -142,7 +142,7 @@ function doJsonMerge( $json_txt ) {
                }
                // merge the jsLanguage array back in and wrap the output
                if ( $mergeToJS && $doReplaceFlag ) {
-                       $json = FormatJson::encode( $jsMsgAry );
+                       $json = json_encode( $jsMsgAry );
                        $json_txt = jsonReadable( $json );
                        // escape $1 for preg replace:
                        $json_txt = str_replace( '$', '\$', $json_txt );