]> git.mxchange.org Git - friendica.git/commitdiff
poco xml returning 500 - but with contents?
authorfriendica <info@friendica.com>
Wed, 30 Jan 2013 02:36:10 +0000 (18:36 -0800)
committerfriendica <info@friendica.com>
Wed, 30 Jan 2013 02:36:10 +0000 (18:36 -0800)
mod/poco.php

index ae5f0cef4e360991ccdadf1b5e8ba52bffb7ebdb..624a48d9ff1768b4654e59a63d44b20076f8a7b3 100644 (file)
@@ -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');