mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-06 18:14:16 +00:00
typelabel value is already lowercased
This commit is contained in:
@@ -80,7 +80,6 @@ class AddressDetails
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($sName)) {
|
if (isset($sName)) {
|
||||||
$sTypeLabel = strtolower(str_replace(' ', '_', $sTypeLabel));
|
|
||||||
if (!isset($aAddress[$sTypeLabel])
|
if (!isset($aAddress[$sTypeLabel])
|
||||||
|| $aLine['class'] == 'place'
|
|| $aLine['class'] == 'place'
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user