CRM-13139 - CRM_Utils_REST - Accept empty JSON objects ("{}")
authorTim Otten <totten@civicrm.org>
Wed, 31 Jul 2013 23:59:32 +0000 (16:59 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 31 Jul 2013 23:59:32 +0000 (16:59 -0700)
commit4e4acd955f930984376b641bbe6ded6acdf3eada
tree291147628f2c7fc9c21be933e9d6fcbadfe268ee
parentcf65f3b763901b08a66b676dbede2428c64eed36
CRM-13139 - CRM_Utils_REST - Accept empty JSON objects ("{}")

Note: When the "json" parameter includes malformed JSON (eg "{") or an empty
string (""), the behavior is unchanged. This only affects a well-formed empty-obect.

----------------------------------------
* CRM-13139: REST API: json_decode() fails for empty input
  http://issues.civicrm.org/jira/browse/CRM-13139
CRM/Utils/REST.php