X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3b6c2c9155ada3706c9095efc51fcd4213141b4f..9abb96fa6b87ba2086b0bf32eed0310690931cfe:/sql/functions/aux_property.sql?ds=inline

diff --git a/sql/functions/aux_property.sql b/sql/functions/aux_property.sql
index 841f240a..cee5cfb2 100644
--- a/sql/functions/aux_property.sql
+++ b/sql/functions/aux_property.sql
@@ -23,7 +23,7 @@ BEGIN
 
   address_street_word_ids := word_ids_from_name(in_street);
   IF address_street_word_ids IS NOT NULL THEN
-    out_parent_place_id := getNearestNamedRoadFeature(out_partition, place_centroid,
+    out_parent_place_id := getNearestNamedRoadPlaceId(out_partition, place_centroid,
                                                       address_street_word_ids);
   END IF;
 
