git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c3486
)
fixed: encodes boolean and double type values for the requests
author
Ciro Scognamiglio
<c.scognamiglio@cslash.net>
Wed, 24 May 2017 11:09:20 +0000
(13:09 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Mon, 29 May 2017 13:15:36 +0000
(15:15 +0200)
php/plc_api.php
patch
|
blob
|
history
diff --git
a/php/plc_api.php
b/php/plc_api.php
index
9764fba
..
0c2187e
100644
(file)
--- a/
php/plc_api.php
+++ b/
php/plc_api.php
@@
-160,6
+160,13
@@
class PLCAPI
}
break;
+ case 'double':
+ return new PhpXmlRpc\Value($value, 'double');
+ break;
+ case 'boolean':
+ return new PhpXmlRpc\Value($value, 'boolean');
+ break;
+ case 'NULL':
case 'null':
return new PhpXmlRpc\Value(null, 'null');
break;