X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b67b60f7d9cc7dfa6a079ef3c4496f7bc9c22f24..5202e860229ff05c7f03c0e2b48f731801d1bf7a:/website/search.php diff --git a/website/search.php b/website/search.php index 6596fca4..6a997acb 100755 --- a/website/search.php +++ b/website/search.php @@ -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; }