Merge pull request #23211 from eileenmcnaughton/event1
[civicrm-core.git] / CRM / Event / Form / ParticipantView.php
index db19ee9c6e4d5eb226b8fdb4aa90e07557bb043a..6d205cc9bd42e8eea94792a609f09224871d0034 100644 (file)
@@ -207,7 +207,7 @@ class CRM_Event_Form_ParticipantView extends CRM_Core_Form {
     }
     $this->assign('displayName', $displayName);
     // omitting contactImage from title for now since the summary overlay css doesn't work outside of our crm-container
-    CRM_Utils_System::setTitle(ts('View Event Registration for') . ' ' . $displayName);
+    $this->setTitle(ts('View Event Registration for') . ' ' . $displayName);
 
     $roleId = $values[$participantID]['role_id'] ?? NULL;
     $title = $displayName . ' (' . CRM_Utils_Array::value($roleId, $participantRoles) . ' - ' . $eventTitle . ')';