poco should now be spec compliant
This commit is contained in:
@@ -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') {
|
||||
|
Reference in New Issue
Block a user