X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7a94872413bbf305386322364b66bdc41c22ff4e..01b009ff24494408b8b568bcc0f6c4ad4156b9ce:/lib/PlaceLookup.php diff --git a/lib/PlaceLookup.php b/lib/PlaceLookup.php index 8a1a3666..eebfe983 100644 --- a/lib/PlaceLookup.php +++ b/lib/PlaceLookup.php @@ -448,10 +448,9 @@ class PlaceLookup } } - $aPlace['addresstype'] = ClassTypes\getProperty( + $aPlace['addresstype'] = ClassTypes\getLabelTag( $aPlace, - 'simplelabel', - $aPlace['class'] + $aPlace['country_code'] ); }