From: Sarah Hoffmann Date: Tue, 26 Oct 2021 08:28:28 +0000 (+0200) Subject: searches for house numbers must have an address X-Git-Tag: v4.0.0~6^2~3 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/1cf14a8e94b7ebd6f26cc692f79266cbbe6fc642?ds=inline;hp=-c searches for house numbers must have an address --- 1cf14a8e94b7ebd6f26cc692f79266cbbe6fc642 diff --git a/lib-php/SearchDescription.php b/lib-php/SearchDescription.php index 6eaf0d9a..fa622e62 100644 --- a/lib-php/SearchDescription.php +++ b/lib-php/SearchDescription.php @@ -236,7 +236,7 @@ class SearchDescription { $this->aName[$iId] = $iId; $this->bRareName = $bRareName; - $this->bNeedsAddress = false; + $this->bNameNeedsAddress = false; } /** @@ -324,6 +324,7 @@ class SearchDescription { $this->aAddress = array_merge($this->aAddress, $this->aName); $this->bRareName = false; + $this->bNameNeedsAddress = true; $this->aName = array($iId => $iId); $this->iNamePhrase = -1; }