From be29ae0bce040f17a0c3b697ede3a699ffbabdc8 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 29 Jan 2013 18:36:10 -0800 Subject: [PATCH] poco xml returning 500 - but with contents? --- mod/poco.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/poco.php b/mod/poco.php index ae5f0cef4e..624a48d9ff 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -148,7 +148,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))); - http_status_exit(500); + killme(); } if($format === 'json') { header('Content-type: application/json'); -- 2.39.5