]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/PlaceLookup.php
test/README.md - more instructions how to import test db
[nominatim.git] / lib / PlaceLookup.php
index 8a1a366678652513e37378e15c36c64d18c0e679..eebfe98301cc16d2ffc100bbbc0869e358d71167 100644 (file)
@@ -448,10 +448,9 @@ class PlaceLookup
                 }
             }
 
-            $aPlace['addresstype'] = ClassTypes\getProperty(
+            $aPlace['addresstype'] = ClassTypes\getLabelTag(
                 $aPlace,
-                'simplelabel',
-                $aPlace['class']
+                $aPlace['country_code']
             );
         }