From fdba280b39ce33c0b339b2d28539e4d8797eb80b Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 10 Oct 2021 13:59:58 +1300 Subject: [PATCH] dev/core#2901 Fix send email regression --- CRM/Contact/Form/Task/EmailTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Task/EmailTrait.php b/CRM/Contact/Form/Task/EmailTrait.php index 8d6bb3fd3ab1..2f53b8f4767e 100644 --- a/CRM/Contact/Form/Task/EmailTrait.php +++ b/CRM/Contact/Form/Task/EmailTrait.php @@ -182,7 +182,7 @@ public function buildQuickForm() { //get the group of contacts as per selected by user in case of Find Activities if (!empty($this->_activityHolderIds)) { $contact = $this->get('contacts'); - $this->_allContactIds = $this->_contactIds = $contact; + $this->_allContactIds = $this->_toContactIds = $this->_contactIds = $contact; } // check if we need to setdefaults and check for valid contact emails / communication preferences