Skip to content

Commit

Permalink
Merge pull request #27837 from colemanw/tsEvent
Browse files Browse the repository at this point in the history
Participant - Translate untranslated string
  • Loading branch information
colemanw authored Oct 16, 2023
2 parents 4290f70 + fd5743a commit b16963b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Event/BAO/Participant.php
Original file line number Diff line number Diff line change
Expand Up @@ -1744,8 +1744,8 @@ public static function addActivityForSelection($participantId, $activityType) {
$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 = [
Expand Down

0 comments on commit b16963b

Please sign in to comment.