X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d11bf9288e56023896067f7926bff5e4b39db96e..e2d2571ad03030382e8bec1f6af153074a4feb27:/lib-php/SearchDescription.php diff --git a/lib-php/SearchDescription.php b/lib-php/SearchDescription.php index fcb87d43..e13a0e9d 100644 --- a/lib-php/SearchDescription.php +++ b/lib-php/SearchDescription.php @@ -257,7 +257,7 @@ class SearchDescription if (empty($this->aName)) { $this->bNameNeedsAddress = $bNeedsAddress; } else { - $this->bNameNeedsAddress |= $bNeedsAddress; + $this->bNameNeedsAddress &= $bNeedsAddress; } if ($bSearchable) { $this->aName[$iId] = $iId;