Update php.js
This commit is contained in:
parent
d3cd606432
commit
0d48e5250a
|
|
@ -35,7 +35,7 @@ function phpPostCallbak(method, version, args,callback){
|
|||
args['version'] = version;
|
||||
|
||||
if (typeof(args) == 'string'){
|
||||
req_data['args'] = JSON.stringify(str2Obj(args));
|
||||
req_data['args'] = JSON.stringify(toArrayObject(args));
|
||||
} else {
|
||||
req_data['args'] = JSON.stringify(args);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue