From fd5743a775ed7b564aea0a16b4570a0cf8945680 Mon Sep 17 00:00:00 2001 From: colemanw Date: Mon, 16 Oct 2023 07:48:29 -0400 Subject: [PATCH] Participant - Translate untranslated string --- CRM/Event/BAO/Participant.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index 9018edaec5..dedf7c5c61 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -1744,8 +1744,8 @@ WHERE civicrm_participant.contact_id = {$contactID} AND $contactId = CRM_Core_DAO::getFieldValue('CRM_Event_BAO_Participant', $participantId, 'contact_id'); $date = CRM_Utils_Date::currentDBDate(); - $event = CRM_Event_BAO_Event::getEvents(0, $eventId); - $subject = sprintf("Registration selections changed for %s", CRM_Utils_Array::value($eventId, $event)); + $title = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $eventId, 'title'); + $subject = ts('Registration selections changed for %1', [1 => $title]); // activity params $activityParams = [ -- 2.25.1