From df3202017e681dc6973c66d8fc779604c6d29e3f Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 8 Nov 2012 20:37:23 +0100 Subject: [PATCH] avoid matching of error message twice --- lib/template/details-error-html.php | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) 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)"; } ?>

-- 2.39.5