Index: trunk/phase3/includes/api/ApiFormatWddx.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | $expected = "<wddxPacket version='1.0'><header/><data><string>\xc2\xa0</string></data></wddxPacket>"; |
50 | 50 | if (function_exists('wddx_serialize_value') |
51 | 51 | && !$this->getIsHtml() |
52 | | - && wddx_serialize_value("\xc2\xa0") != $expected) { |
| 52 | + && wddx_serialize_value("\xc2\xa0") == $expected) { |
53 | 53 | $this->printText(wddx_serialize_value($this->getResultData())); |
54 | 54 | } else { |
55 | 55 | // Don't do newlines and indentation if we weren't asked |