diff --git a/lib/SearchDescription.php b/lib/SearchDescription.php index e9495852..702e7dea 100644 --- a/lib/SearchDescription.php +++ b/lib/SearchDescription.php @@ -247,7 +247,10 @@ class SearchDescription $oSearch->iSearchRank++; } // also must not appear in the middle of the address - if (sizeof($this->aAddress) || sizeof($this->aAddressNonSearch)) { + if (sizeof($this->aAddress) + || sizeof($this->aAddressNonSearch) + || $this->sPostcode + ) { $oSearch->iSearchRank++; } $aNewSearches[] = $oSearch;