From 5202e860229ff05c7f03c0e2b48f731801d1bf7a Mon Sep 17 00:00:00 2001 From: Brian Quinion Date: Sat, 2 Apr 2011 15:07:48 +0000 Subject: [PATCH] fallback housenumber for items containing a number - not just number only --- website/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5