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 @@
59
59
$jsonDec = $json->decode( $value );
60
60
return $jsonDec;
61
61
} else {
62
- return wfObjectToArray( json_decode( $value, $assoc ) );
62
+ return json_decode( $value, $assoc );
63
63
}
64
64
}
65
65
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r83647
Add wfObjectToArray to json_decode to ensure that the return value is an array
btongminh
12:02, 10 March 2011
Status & tagging log
13:13, 10 March 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r83648
[
removed:
new
added:
ok]