diff --git a/classes/AlertView/Standard.php b/classes/AlertView/Standard.php index 1c6cd5c6b5..25b1f4269a 100644 --- a/classes/AlertView/Standard.php +++ b/classes/AlertView/Standard.php @@ -626,7 +626,7 @@ protected function setUserData() { $add = false; $this->data['all_keywords'][] = $term; $this->data['own_member_alerts'][] = $alert; - } elseif (\MySociety\TheyWorkForYou\Utility\Search::searchMemberDbLookupWithNames($term)) { + } elseif (\MySociety\TheyWorkForYou\Utility\Search::searchMemberDbLookupWithNames($term, true)) { if (!array_key_exists($term, $this->data['spoken_alerts'])) { $this->data['spoken_alerts'][$term] = []; }