Permalink
Browse files

correct default options param value for php_jsonrpc_encode

git-svn-id: https://phpxmlrpc.svn.sourceforge.net/svnroot/phpxmlrpc/trunk@77 013ecfd8-0664-425d-a759-9c98391dc3f9
  • Loading branch information...
ggiunta
ggiunta committed Aug 23, 2010
1 parent a9b0310 commit 2065b82b62608e301d2dfa99c05284962d1d1ee8
Showing with 6 additions and 2 deletions.
  1. +5 −1 extras/ChangeLog
  2. +1 −1 extras/jsonrpc/jsonrpc.inc
View
@@ -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)
* jsonrpcs.inc, jsonrpcs.inc: use __METHOD__ constant for error messages
@@ -77,7 +81,7 @@
missing file in ajaxmlrpc dir
* better rendering of docs in xml+css format for function prototypes
-
+
* json_extension_api.inc: allow user to switch between new and old behaviour
when decoding single scalar values
@@ -1207,7 +1207,7 @@
* @return jsonrpcval
* @access public
*/
- function php_jsonrpc_encode($php_val, $options='')
+ function php_jsonrpc_encode($php_val, $options=array())
{
$type = gettype($php_val);

0 comments on commit 2065b82

Please sign in to comment.