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;