CRM-13121 - CRM.api - Always encode data with JSON
authorTim Otten <totten@civicrm.org>
Fri, 26 Jul 2013 19:02:28 +0000 (12:02 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 26 Jul 2013 19:02:28 +0000 (12:02 -0700)
commitc68358c875f2452ba6cbe045e870a317041483b8
tree1f77ceeda39361f0bbd1a4c9f140f331773689d2
parent870a94474f669d39a13fd53fac01ad39ab909185
CRM-13121 - CRM.api - Always encode data with JSON

The query-string encoder misencodes empty arrays -- and most likely
misencodes other things.

----------------------------------------
* CRM-13121: CRM.api cannot call "replace" with empty list
  http://issues.civicrm.org/jira/browse/CRM-13121
js/rest.js