X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7a94872413bbf305386322364b66bdc41c22ff4e..d3f7465ccad9cce6c84f0b089282c5ece550c5ed:/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'] ); }