aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-05 01:02:12 -0700
committerFriendika <info@friendika.com>2011-08-05 01:02:12 -0700
commitb8592dba8ac86358d3608bcac416965dbf12c21b (patch)
tree3df67f960c340d28ff36df26c4b3d3f025469080 /include
parent2abcf76ec17a9a7754c399cdde9a4449308a4b02 (diff)
downloadvolse-hubzilla-b8592dba8ac86358d3608bcac416965dbf12c21b.tar.gz
volse-hubzilla-b8592dba8ac86358d3608bcac416965dbf12c21b.tar.bz2
volse-hubzilla-b8592dba8ac86358d3608bcac416965dbf12c21b.zip
integer values don't show up in xml api results
Diffstat (limited to 'include')
-rw-r--r--include/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php
index 9382f82c4..ffdcdfdd6 100644
--- a/include/api.php
+++ b/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);
}
/**