Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
@@ -3,9 +3,9 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* IP.Board v3.4.5
|
||||
* This class can act as an API server, handling API requests
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* Last Updated: $Date: 2012-12-27 11:37:49 -0500 (Thu, 27 Dec 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
@@ -15,7 +15,7 @@
|
||||
* @subpackage Kernel
|
||||
* @link http://www.invisionpower.com
|
||||
* @since Friday 6th January 2006 (12:24)
|
||||
* @version $Revision: 10914 $
|
||||
* @version $Revision: 11758 $
|
||||
*
|
||||
* Examples of sending and receiving API data
|
||||
* <code>
|
||||
@@ -557,7 +557,7 @@ class classApiServer
|
||||
*/
|
||||
protected function _encodeBase64Array( $array )
|
||||
{
|
||||
return base64_encode( serialize( $array ) );
|
||||
return base64_encode( json_encode( $array ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -577,7 +577,7 @@ class classApiServer
|
||||
* @link http://community.invisionpower.com/tracker/issue-18676-xml-rpcapiserver-params-not-unserialized/
|
||||
* base64 data types are properly base-64 decoded in the XML-RPC library now, so it is redundant to do so here now
|
||||
*/
|
||||
return unserialize( $data );
|
||||
return json_decode( $data, true );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user