--- nfo/site/htdocs/netfraggle.php 2004/09/13 18:49:02 1.10 +++ nfo/site/htdocs/netfraggle.php 2004/09/15 16:39:06 1.11 @@ -5,7 +5,7 @@ -------------------------------------------------------------------------------- --- rabit, 01:28 24.08.2004 --- joko, 04:05 30.08.2004 ---- $Id: netfraggle.php,v 1.10 2004/09/13 18:49:02 xabbu Exp $ +--- $Id: netfraggle.php,v 1.11 2004/09/15 16:39:06 xabbu Exp $ ------------------------------------------------------------------------------*/ include('inc/common/common.php.inc'); @@ -66,9 +66,19 @@ foreach ($result[0] as $key => $value) { $structinfo[$key] = new XML_RPC_Value($value,"string"); } - foreach ($result[1] as $key => $value) { - $structcontent[$key] = new XML_RPC_Value($value,"struct"); - } + + #foreach ($result[1] as $key => $value) { + #$structcontent[$key] = new XML_RPC_Value($value,"struct"); + # } + + foreach ($result[1] as $key => $value) { + $cdata = array(); + foreach($value as $item => $data) { + $cdata[$item] = new XML_RPC_Value($data,"string"); + } + $structcontent[$key] = new XML_RPC_Value($cdata,"struct"); + } + foreach ($result[2] as $key => $value) { $structfields[$key] = new XML_RPC_Value($value,"string"); }