X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/db3ced17bbfff00411f506d8c84419c875959d5e..f289db9bfe21c5a725e751be98e2b824026e2310:/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));