Browse Source

integer values don't show up in xml api results

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

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