X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4f49ef07e653e91fae3a75976074833905c79aa8..4a3121b52f368a089d69bc4d6da0a8b6acd8603d:/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();