From b0b4f7142cf126b9dd8a75d3a4de70ae1c51a1a1 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 7 Sep 2021 08:01:39 +1200 Subject: [PATCH] dev/core#2814 Fix activity:sendEmail follow up --- CRM/Activity/BAO/Activity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index c346148fc4c0..4c25df0bedea 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -1168,9 +1168,9 @@ public static function sendEmail( $from, $userID, $contactId, - $tokenSubject, - $tokenText, - $tokenHtml, + $renderedTemplate['subject'], + $renderedTemplate['text'], + $renderedTemplate['html'], $emailAddress, $activityID, // get the set of attachments from where they are stored