X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7a50d2f9964421e932313b15f5d7d3b05ded4c45..1d4dcd914fd277aebf242037064612224f4dde54:/lib/template/details-error-html.php?ds=inline
diff --git a/lib/template/details-error-html.php b/lib/template/details-error-html.php
index f93cca4d..bc00f84d 100644
--- a/lib/template/details-error-html.php
+++ b/lib/template/details-error-html.php
@@ -11,9 +11,6 @@
function osmMapUrl($aFeature)
{
- $sLon = $aFeature['error_x'];
- $sLat = $aFeature['error_y'];
-
if (isset($sFeature['error_x']) && isset($sFeature['error_y']))
{
$sBaseUrl = '//www.openstreetmap.org/';
@@ -23,8 +20,7 @@
$sBaseUrl += $sOSMType.'/'.$aFeature['osm_id'];
}
- return 'view on osm.org';
- }
+ return 'view on osm.org';
}
return '';
}