X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiFormatWddx.php;h=df8e745be0f387d89bf485378ba781bb7ccca91a;hb=74756a24091d3b875a2fbf8759d8688609727586;hp=5685d93716a9032d20eb81ef9c4f4f08fb420f0e;hpb=64797b281d1d8f3221aa61a00a36922b961f3922;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/api/ApiFormatWddx.php b/includes/api/ApiFormatWddx.php
index 5685d93716..df8e745be0 100644
--- a/includes/api/ApiFormatWddx.php
+++ b/includes/api/ApiFormatWddx.php
@@ -38,10 +38,12 @@ class ApiFormatWddx extends ApiFormatBase {
// Some versions of PHP have a broken wddx_serialize_value, see
// PHP bug 45314. Test encoding an affected character (U+00A0)
// to avoid this.
- $expected = "\xc2\xa0";
+ $expected =
+ "\xc2\xa0";
if ( function_exists( 'wddx_serialize_value' )
- && !$this->getIsHtml()
- && wddx_serialize_value( "\xc2\xa0" ) == $expected ) {
+ && !$this->getIsHtml()
+ && wddx_serialize_value( "\xc2\xa0" ) == $expected
+ ) {
$this->printText( wddx_serialize_value( $this->getResultData() ) );
} else {
// Don't do newlines and indentation if we weren't asked