aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-28 19:17:46 -0700
committerzotlabs <mike@macgirvin.com>2017-05-28 19:17:46 -0700
commitb15a5f03e61eeef2086d87f497464b00ada3798e (patch)
treeda1ded26d9a7a7ca3835540a8d674328a9d9afec /include/text.php
parent7738083f3e26656cba0b53bbf652c0efa089d8ba (diff)
downloadvolse-hubzilla-b15a5f03e61eeef2086d87f497464b00ada3798e.tar.gz
volse-hubzilla-b15a5f03e61eeef2086d87f497464b00ada3798e.tar.bz2
volse-hubzilla-b15a5f03e61eeef2086d87f497464b00ada3798e.zip
work through the diaspora_v2 outgoing status posts
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 2e77dca84..0666a5e0d 100644
--- a/include/text.php
+++ b/include/text.php
@@ -3049,7 +3049,8 @@ function array2XML($obj, $array) {
if(is_array($value)) {
$node = $obj->addChild($key);
array2XML($node, $value);
- } else {
+ }
+ else {
$obj->addChild($key, htmlspecialchars($value));
}
}