Skip to content

Commit

Permalink
correct default options param value for php_jsonrpc_encode
Browse files Browse the repository at this point in the history
git-svn-id: https://phpxmlrpc.svn.sourceforge.net/svnroot/phpxmlrpc/trunk@77 013ecfd8-0664-425d-a759-9c98391dc3f9
  • Loading branch information
ggiunta committed Aug 23, 2010
1 parent a9b0310 commit 2065b82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion extras/ChangeLog
@@ -1,3 +1,7 @@
2010-08-23 - G. Giunta (giunta.gaetano@gmail.com

* jsonrpcs.inc: correct default options param value for php_jsonrpc_encode

2009-09-05 - G. Giunta (giunta.gaetano@gmail.com) 2009-09-05 - G. Giunta (giunta.gaetano@gmail.com)


* jsonrpcs.inc, jsonrpcs.inc: use __METHOD__ constant for error messages * jsonrpcs.inc, jsonrpcs.inc: use __METHOD__ constant for error messages
Expand Down Expand Up @@ -77,7 +81,7 @@
missing file in ajaxmlrpc dir missing file in ajaxmlrpc dir


* better rendering of docs in xml+css format for function prototypes * better rendering of docs in xml+css format for function prototypes

* json_extension_api.inc: allow user to switch between new and old behaviour * json_extension_api.inc: allow user to switch between new and old behaviour
when decoding single scalar values when decoding single scalar values


Expand Down
2 changes: 1 addition & 1 deletion extras/jsonrpc/jsonrpc.inc
Expand Up @@ -1207,7 +1207,7 @@
* @return jsonrpcval * @return jsonrpcval
* @access public * @access public
*/ */
function php_jsonrpc_encode($php_val, $options='') function php_jsonrpc_encode($php_val, $options=array())
{ {
$type = gettype($php_val); $type = gettype($php_val);


Expand Down

0 comments on commit 2065b82

Please sign in to comment.