integer values don't show up in xml api results

pull/1/head
Friendika 11 years ago
parent 2abcf76ec1
commit b8592dba8a
  1. 2
      include/api.php

@ -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…
Cancel
Save