fallback housenumber for items containing a number - not just number only

This commit is contained in:
Brian Quinion
2011-04-02 15:07:48 +00:00
parent b67b60f7d9
commit 5202e86022

View File

@@ -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;
}