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