From 77bbbd24983356f388d1ae1ad2dc44a8472c3ce2 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 8 Nov 2012 23:03:00 +0100 Subject: [PATCH] forgot some brackets --- lib/template/details-error-html.php | 4 ++-- lib/template/details-html.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/template/details-error-html.php b/lib/template/details-error-html.php index d8e7fd62..aebf0754 100644 --- a/lib/template/details-error-html.php +++ b/lib/template/details-error-html.php @@ -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 } ?>

Edit: in Remote Control (JOSM / Merkaartor)"; diff --git a/lib/template/details-html.php b/lib/template/details-html.php index a4619b55..9c967fff 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -151,7 +151,7 @@ body { echo 'Type: '.$aAddressLine['class'].':'.$aAddressLine['type'].''; if ($sOSMType) echo ', '.$sOSMType.' '.$aAddressLine['osm_id'].''; echo ', '.$aAddressLine['admin_level'].''; - if (isset($aAddressLine['rank_search_label']) echo ', '.$aAddressLine['rank_search_label'].''; + if (isset($aAddressLine['rank_search_label'])) echo ', '.$aAddressLine['rank_search_label'].''; // echo ', '.($aAddressLine['fromarea']=='t'?'Polygon':'Point').''; echo ', '.$aAddressLine['distance'].''; echo ' GOTO'; -- 2.39.5