X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb141e027a459e4e32d0ad71803ba2ac90d1d6f1..3b960a5bf343f5617326f162c6df3399dce34930:/website/details.php diff --git a/website/details.php b/website/details.php index 3d80ea5f..8c838d46 100755 --- a/website/details.php +++ b/website/details.php @@ -1,4 +1,6 @@ 5000 THEN ST_SimplifyPreserveTopology(geometry, 0.0001) ELSE geometry END) as outlinestring"; $sSQL .= " from placex where place_id = $iPlaceID"; $aPointDetails = $oDB->getRow($sSQL); @@ -68,7 +73,6 @@ { failInternalError("Could not get details of place object.", $sSQL, $aPointDetails); } - $aPointDetails['localname'] = $aPointDetails['localname']?$aPointDetails['localname']:$aPointDetails['housenumber']; $aClassType = getClassTypesWithImportance();