forked from hans/Nominatim
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