X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ed16d5b6aa35f3ef315338bd6d292d4d1ef653fb..64ace51e02790bf88e162a15236c5ac2af865c5e:/lib/PlaceLookup.php?ds=sidebyside 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'] ); }