X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/db3ced17bbfff00411f506d8c84419c875959d5e..4fa349315b59bae789c77cbf2ffa0021d1231d64:/lib-php/template/error-json.php diff --git a/lib-php/template/error-json.php b/lib-php/template/error-json.php index 67297dd1..fea7d5c5 100644 --- a/lib-php/template/error-json.php +++ b/lib-php/template/error-json.php @@ -1,4 +1,12 @@ $exception->getCode(), 'message' => $exception->getMessage() @@ -8,4 +16,4 @@ $error['details'] = $exception->getFile() . '('. $exception->getLine() . ')'; } - echo javascript_renderData(array('error' => $error)); + javascript_renderData(array('error' => $error));