From: Sarah Hoffmann Date: Thu, 8 Nov 2012 19:37:23 +0000 (+0100) Subject: avoid matching of error message twice X-Git-Tag: v2.2.0~184 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/df3202017e681dc6973c66d8fc779604c6d29e3f?ds=inline avoid matching of error message twice --- diff --git a/lib/template/details-error-html.php b/lib/template/details-error-html.php index 5f075b93..d8e7fd62 100644 --- a/lib/template/details-error-html.php +++ b/lib/template/details-error-html.php @@ -144,35 +144,33 @@ body {

This object has an invalid geometry.

Details: ".($sVal?$sVal:' ').""; + $sLat = $aPointDetails['error_y']; + $sLon = $aPointDetails['error_x']; + echo "".$sVal.""; } else { - echo ($sVal?$sVal:' '); + echo $sVal; } ?>

Edit: in Remote Controll (JOSM / Merkaartor)"; + echo " Remote Control (JOSM / Merkaartor)"; echo " | Potlatch 2"; } else { - echo " Remote Controll (JOSM / Merkaartor)"; + echo " Remote Control (JOSM / Merkaartor)"; // Should be better to load by object id - but this doesn't seem to zoom correctly - //echo " Remote Controll (JOSM / Merkaartor)"; + //echo " Remote Control (JOSM / Merkaartor)"; } ?>