mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
fallback housenumber for items containing a number - not just number only
This commit is contained in:
@@ -816,7 +816,7 @@
|
||||
}
|
||||
|
||||
// Fallback to the road
|
||||
if (!sizeof($aPlaceIDs) && preg_match('/^[0-9]+$/', $aSearch['sHouseNumber']))
|
||||
if (!sizeof($aPlaceIDs) && preg_match('/[0-9]+/', $aSearch['sHouseNumber']))
|
||||
{
|
||||
$aPlaceIDs = $aRoadPlaceIDs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user