aboutsummaryrefslogtreecommitdiffstats
path: root/mod/poco.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/poco.php')
-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') {