searches for house numbers must have an address

This commit is contained in:
Sarah Hoffmann
2021-10-26 10:28:28 +02:00
parent 4864bf1509
commit 1cf14a8e94

View File

@@ -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;
}