r83648 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83647‎ | r83648 | r83649 >
Date:12:04, 10 March 2011
Author:btongminh
Status:ok
Tags:
Comment:
Revert r83647, was based on the inability to read the function signature
Modified paths:
  • /trunk/phase3/includes/json/FormatJson.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/json/FormatJson.php
@@ -58,7 +58,7 @@
5959 $jsonDec = $json->decode( $value );
6060 return $jsonDec;
6161 } else {
62 - return wfObjectToArray( json_decode( $value, $assoc ) );
 62+ return json_decode( $value, $assoc );
6363 }
6464 }
6565

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r83647Add wfObjectToArray to json_decode to ensure that the return value is an arraybtongminh12:02, 10 March 2011

Status & tagging log