From: friendica Date: Wed, 30 Jan 2013 02:36:10 +0000 (-0800) Subject: poco xml returning 500 - but with contents? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be29ae0bce040f17a0c3b697ede3a699ffbabdc8;p=friendica.git poco xml returning 500 - but with contents? --- 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');