Merge pull request #1809 from lonvia/fix-display-names

Fix some glitches in choice of address tags
This commit is contained in:
Sarah Hoffmann
2020-05-27 21:28:17 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -117,8 +117,12 @@ class AddressDetails
if ($aLine['type'] == 'postcode' || $aLine['type'] == 'postal_code') {
$aJson['postcode'] = $aLine['localname'];
} elseif ($aLine['type'] == 'house_number') {
continue;
}
if ($aLine['type'] == 'house_number') {
$aJson['housenumber'] = $aLine['localname'];
continue;
}
if ($this->iPlaceID == $aLine['place_id']) {