]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/details-error-html.php
forgot some brackets
[nominatim.git] / lib / template / details-error-html.php
index d8e7fd62c4f724acfd198ddb9a958a9fe0372f5f..aebf0754adb80bb847b911dca3be1211aa2f633f 100644 (file)
@@ -148,7 +148,7 @@ $sVal = $aPointDetails['errormessage']?$aPointDetails['errormessage']:' ';
 $sOSMType = ($aPointDetails['osm_type'] == 'N'?'node':($aPointDetails['osm_type'] == 'W'?'way':($aPointDetails['osm_type'] == 'R'?'relation':'')));
 $sOSMID = $aPointDetails['osm_id'];
 
-if (isset($aPointDetails['error_x'])
+if (isset($aPointDetails['error_x']))
 {
        $sLat = $aPointDetails['error_y'];
        $sLon = $aPointDetails['error_x'];
@@ -160,7 +160,7 @@ else
 }
 ?>
     <p><b>Edit:</b> in <?php
-if (isset($aPointDetails['error_x'])
+if (isset($aPointDetails['error_x']))
 {
        $fWidth = 0.0002;
        echo " <a href=\"http://localhost:8111/load_and_zoom?left=".($sLon-$fWidth)."&right=".($sLon+$fWidth)."&top=".($sLat+$fWidth)."&bottom=".($sLat-$fWidth)."\" target=\"josm\">Remote Control (JOSM / Merkaartor)</a>";