X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fpoco.php;h=624a48d9ff1768b4654e59a63d44b20076f8a7b3;hb=c4e6cb916db2162075618c7c4be674b4b61c5b35;hp=cb9abb340ddb06fe071e32f06fc9de4cb85f4e68;hpb=e2ca9e9db55fef4c3b7e87dcbf884b9f7c0d8b61;p=friendica.git diff --git a/mod/poco.php b/mod/poco.php index cb9abb340d..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'); @@ -159,4 +159,4 @@ function poco_init(&$a) { http_status_exit(500); -} \ No newline at end of file +}