Merge pull request #23221 from eileenmcnaughton/mapField
[civicrm-core.git] / CRM / Event / Form / Task / Batch.php
index 430285370c1d427c9ac64a5069db241cbf3ce1b9..8e45031d14194034b7ded5d0ccb3cf81312dbb83 100644 (file)
@@ -80,11 +80,11 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task {
   public function buildQuickForm() {
     $ufGroupId = $this->get('ufGroupId');
     if (!$ufGroupId) {
-      CRM_Core_Error::statusBounce('ufGroupId is missing');
+      CRM_Core_Error::statusBounce(ts('ufGroupId is missing'));
     }
 
     $this->_title = ts('Update multiple participants') . ' - ' . CRM_Core_BAO_UFGroup::getTitle($ufGroupId);
-    CRM_Utils_System::setTitle($this->_title);
+    $this->setTitle($this->_title);
     $this->addDefaultButtons(ts('Save'));
 
     $this->_fields = CRM_Core_BAO_UFGroup::getFields($ufGroupId, FALSE, CRM_Core_Action::VIEW);