r69609 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69608‎ | r69609 | r69610 >
Date:13:31, 20 July 2010
Author:werdna
Status:ok
Tags:
Comment:
json_decode() --> FormatJson::decode()
Modified paths:
  • /trunk/extensions/CommunityApplications/SpecialCommunityApplications.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CommunityApplications/SpecialCommunityApplications.php
@@ -30,7 +30,7 @@
3131 $wgOut->addHTML( "<hr/>" );
3232 $wgOut->addHTML( "<table><tbody>" );
3333
34 - $data = get_object_vars(json_decode( $row->ch_data ));
 34+ $data = FormatJson::decode( $row->ch_data, true );
3535
3636 $header = wfMsg( 'community-applications-application-title', $row->ch_id,
3737 $data['family-name'], $data['given-name'] );

Status & tagging log