# HG changeset patch # User Dan Fuhry # Date 1326723728 18000 # Node ID 4f83d730633f654fc7cee15461f09d7762783d7c # Parent e80b5733ce9d65d3d45cceff9618a904b2223a80 Fixed PHP-based JSON decode to output arrays, not objects diff -r e80b5733ce9d -r 4f83d730633f includes/functions.php --- a/includes/functions.php Mon Dec 05 08:16:00 2011 -0500 +++ b/includes/functions.php Mon Jan 16 09:22:08 2012 -0500 @@ -4870,7 +4870,7 @@ if ( function_exists('json_decode') ) { // using PHP5 with JSON support - return json_decode($data); + return json_decode($data, true); } */