1
0
Fork 0

integer values don't show up in xml api results

This commit is contained in:
Friendika 2011-08-05 01:02:12 -07:00
parent 2abcf76ec1
commit b8592dba8a

View file

@ -383,7 +383,7 @@
function api_xmlify($val){
if (is_bool($val)) return $val?"true":"false";
if (is_array($val)) return array_map('api_xmlify', $val);
return xmlify($val);
return xmlify((string) $val);
}
/**