git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: php_2_xmlrpc_type is not a public function anymore
[plcapi.git]
/
src
/
Server.php
diff --git
a/src/Server.php
b/src/Server.php
index
8a378c3
..
2280847
100644
(file)
--- a/
src/Server.php
+++ b/
src/Server.php
@@
-930,8
+930,9
@@
class Server
// base64 or datetime values, but they will be listed as strings here...
$numParams = count($call['params']);
$pt = array();
// base64 or datetime values, but they will be listed as strings here...
$numParams = count($call['params']);
$pt = array();
+ $wrapper = new Wrapper();
foreach ($call['params'] as $val) {
foreach ($call['params'] as $val) {
- $pt[] = php_2_xmlrpc_type(gettype($val));
+ $pt[] =
$wrapper->
php_2_xmlrpc_type(gettype($val));
}
$result = $server->execute($call['methodName'], $call['params'], $pt);
}
$result = $server->execute($call['methodName'], $call['params'], $pt);