From: Ciro Scognamiglio Date: Wed, 24 May 2017 11:09:20 +0000 (+0200) Subject: fixed: encodes boolean and double type values for the requests X-Git-Tag: plcapi-5.4-0~9 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=1e4558f1e8eaec5f69f3832a8599d0dfa1531f00 fixed: encodes boolean and double type values for the requests --- diff --git a/php/plc_api.php b/php/plc_api.php index 9764fba..0c2187e 100644 --- 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;