integer values don't show up in xml api results
This commit is contained in:
parent
2abcf76ec1
commit
b8592dba8a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue