summaryrefslogtreecommitdiffstats
path: root/etc/inc/xmlrpc_client.inc
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-04-02 18:50:38 +0000
committerColin Smith <colin@pfsense.org>2005-04-02 18:50:38 +0000
commitbfdc665f18d81601c265c6f469351d19ef846a03 (patch)
tree2c84c807256e04007410c6a6a5b8fb0e2213c411 /etc/inc/xmlrpc_client.inc
parent44488c3c043c29d5fc2f276c5cf18d8012226992 (diff)
downloadpfsense-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.
Diffstat (limited to 'etc/inc/xmlrpc_client.inc')
-rw-r--r--etc/inc/xmlrpc_client.inc1
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:
OpenPOWER on IntegriCloud