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