mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-10 03:54:06 +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
|
// Fallback to the road
|
||||||
if (!sizeof($aPlaceIDs) && preg_match('/^[0-9]+$/', $aSearch['sHouseNumber']))
|
if (!sizeof($aPlaceIDs) && preg_match('/[0-9]+/', $aSearch['sHouseNumber']))
|
||||||
{
|
{
|
||||||
$aPlaceIDs = $aRoadPlaceIDs;
|
$aPlaceIDs = $aRoadPlaceIDs;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user