diff options
author | Colin Smith <colin@pfsense.org> | 2005-04-02 18:50:38 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-04-02 18:50:38 +0000 |
commit | bfdc665f18d81601c265c6f469351d19ef846a03 (patch) | |
tree | 2c84c807256e04007410c6a6a5b8fb0e2213c411 | |
parent | 44488c3c043c29d5fc2f276c5cf18d8012226992 (diff) | |
download | pfsense-bfdc665f18d81601c265c6f469351d19ef846a03.zip pfsense-bfdc665f18d81601c265c6f469351d19ef846a03.tar.gz |
Fix signature listing for array() datatypes. This is a rather hackish way to go about it, but should preserve compatibility with other languages.
-rw-r--r-- | etc/inc/xmlrpc_client.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/xmlrpc_client.inc b/etc/inc/xmlrpc_client.inc index fd25e4b..10ed4ac 100644 --- a/etc/inc/xmlrpc_client.inc +++ b/etc/inc/xmlrpc_client.inc @@ -1460,6 +1460,7 @@ class XML_RPC_Value extends XML_RPC_Base $rs .= "<${typ}>" . ($val ? '1' : '0') . "</${typ}>"; break; case $XML_RPC_String: + if(is_array($val)) $val = 'array'; $rs .= "<${typ}>" . htmlspecialchars($val). "</${typ}>"; break; default: |