X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Faction.php;h=c2d60e11e974bec1414fe2b9b143b4babdb4ce0d;hb=0baa9debbca911ba43b289624b5acbbb94469828;hp=4a815c148360efa6d0064c411cc6b06a669a245e;hpb=3255e2e1b81ce6d8d867e924eeacff2c9e53d706;p=quix0rs-gnu-social.git diff --git a/lib/action.php b/lib/action.php index 4a815c1483..c2d60e11e9 100644 --- a/lib/action.php +++ b/lib/action.php @@ -1490,7 +1490,7 @@ class Action extends HTMLOutputter // lawsuit } $this->initDocument('json'); $error_array = array('error' => $msg, 'request' => $_SERVER['REQUEST_URI']); - $this->text(json_encode($error_array)); + print(json_encode($error_array)); $this->endDocument('json'); break; case 'text':