aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-27 04:38:33 -0700
committerFriendika <info@friendika.com>2011-10-27 04:38:33 -0700
commitea0ab6fbac0dc317eb2e81abedbd3855c08a14c5 (patch)
tree7d05e4a1ad6e318f4e89d902db3c9fd8225f1901 /mod
parentabe96155b42f0f824d05d08126d0ced0d3c5ab38 (diff)
downloadvolse-hubzilla-ea0ab6fbac0dc317eb2e81abedbd3855c08a14c5.tar.gz
volse-hubzilla-ea0ab6fbac0dc317eb2e81abedbd3855c08a14c5.tar.bz2
volse-hubzilla-ea0ab6fbac0dc317eb2e81abedbd3855c08a14c5.zip
poco should now be spec compliant
Diffstat (limited to 'mod')
-rw-r--r--mod/poco.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/poco.php b/mod/poco.php
index c354be863..2c2aeb656 100644
--- a/mod/poco.php
+++ b/mod/poco.php
@@ -76,7 +76,7 @@ function poco_init(&$a) {
'id' => false,
'displayName' => false,
'urls' => false,
- 'preferredName' => false,
+ 'preferredUsername' => false,
'photos' => false
);
@@ -114,7 +114,7 @@ function poco_init(&$a) {
if($format === 'xml') {
header('Content-type: text/xml');
- echo replace_macros(get_markup_template('poco_xml.tpl',array_xmlify(array('$response' => $ret))));
+ echo replace_macros(get_markup_template('poco_xml.tpl'),array_xmlify(array('$response' => $ret)));
http_status_exit(500);
}
if($format === 'json') {