X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bf0710dd64eb421c14ec13363c8dcc3f90072b49..64661947109e6ed45a1527529b079ddab26d23e5:/website/search.php diff --git a/website/search.php b/website/search.php index 3b5d55ac..6596fca4 100755 --- a/website/search.php +++ b/website/search.php @@ -816,7 +816,7 @@ } // Fallback to the road - if (!sizeof($aPlaceIDs)) + if (!sizeof($aPlaceIDs) && preg_match('/^[0-9]+$/', $aSearch['sHouseNumber'])) { $aPlaceIDs = $aRoadPlaceIDs; }