r48716 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48715‎ | r48716 | r48717 >
Date:20:06, 23 March 2009
Author:catrope
Status:ok
Tags:
Comment:
Followup on r48713: fix a very stupid typo
Modified paths:
  • /trunk/phase3/includes/api/ApiFormatWddx.php (modified) (history)

Diff [purge]

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

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48713API: Add a check for PHP bug 45314 (PHP's WDDX formatter messes up UTF-8) and...catrope19:58, 23 March 2009

Status & tagging log