forked from hans/Nominatim
Fix coding style.
This commit is contained in:
@@ -2196,7 +2196,7 @@ BEGIN
|
||||
result := '{}';
|
||||
prevresult := '';
|
||||
|
||||
FOR location IN select * from get_addressdata(for_place_id,housenumber) where isaddress order by rank_address desc LOOP
|
||||
FOR location IN select * from get_addressdata(for_place_id, housenumber) where isaddress order by rank_address desc LOOP
|
||||
currresult := trim(get_name_by_language(location.name, languagepref));
|
||||
IF currresult != prevresult AND currresult IS NOT NULL AND result[(100 - location.rank_address)] IS NULL THEN
|
||||
result[(100 - location.rank_address)] := trim(get_name_by_language(location.name, languagepref));
|
||||
|
||||
Reference in New Issue
Block a user