From 1cf14a8e94b7ebd6f26cc692f79266cbbe6fc642 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 26 Oct 2021 10:28:28 +0200 Subject: [PATCH] searches for house numbers must have an address --- lib-php/SearchDescription.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5