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