X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/72fc234c502703a7acc64f2e6760fe2667a289ed..b57dc6addfe6d91ad78642d1f6881d206b7e425a:/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();