From d0882c75fbcfa4b6091aac2f70e56dd2d62fcca4 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 3 Oct 2019 08:19:21 +0100 Subject: [PATCH] Event::sendEmail() - Fix profile ID for realz this time --- CRM/Event/BAO/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 16d3632aa5..8f7ab1c185 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -1145,7 +1145,7 @@ WHERE civicrm_event.is_active = 1 // 'in a smattering of places'. Note that leakage can happen between mailings when not explicitly defined. $customPostTitles = empty($profilePost[1]) ? NULL : []; foreach ($postProfileID as $id) { - $customPostTitles[$id] = CRM_Core_BAO_UFGroup::getFrontEndTitle((int) $postProfileID); + $customPostTitles[$id] = CRM_Core_BAO_UFGroup::getFrontEndTitle((int) $id); } $tplParams = array_merge($values, $participantParams, [ 'email' => $email, -- 2.25.1