From bfdc665f18d81601c265c6f469351d19ef846a03 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sat, 2 Apr 2005 18:50:38 +0000 Subject: Fix signature listing for array() datatypes. This is a rather hackish way to go about it, but should preserve compatibility with other languages. --- etc/inc/xmlrpc_client.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/inc') 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') . ""; break; case $XML_RPC_String: + if(is_array($val)) $val = 'array'; $rs .= "<${typ}>" . htmlspecialchars($val). ""; break; default: -- cgit v1.1