poco xml returning 500 - but with contents?

This commit is contained in:
friendica 2013-01-29 18:36:10 -08:00
parent de0098a6b4
commit be29ae0bce
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ function poco_init(&$a) {
if($format === 'xml') { if($format === 'xml') {
header('Content-type: text/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); killme();
} }
if($format === 'json') { if($format === 'json') {
header('Content-type: application/json'); header('Content-type: application/json');