X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fapi.php;h=494b595d17881b65fd5d8bcd34a982883798164e;hb=506c2d7491f7f229a1469ef176fee6c21d61a6c6;hp=8f1fe1ef712c15b9e0c708ab6b84bc9edb778aed;hpb=fd3c9334bfcfe627446feb86ac3054b24ed05449;p=quix0rs-gnu-social.git diff --git a/lib/api.php b/lib/api.php index 8f1fe1ef71..494b595d17 100644 --- a/lib/api.php +++ b/lib/api.php @@ -1103,7 +1103,7 @@ class ApiAction extends Action } } - function serverError($msg, $code = 500, $content_type = 'json') + function serverError($msg, $code = 500, $content_type = 'xml') { $action = $this->trimmed('action');