From: colemanw Date: Mon, 16 Oct 2023 11:48:29 +0000 (-0400) Subject: Participant - Translate untranslated string X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fd5743a775ed7b564aea0a16b4570a0cf8945680;p=civicrm-core.git Participant - Translate untranslated string --- 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 = [