Merge pull request #23221 from eileenmcnaughton/mapField
[civicrm-core.git] / CRM / Event / Form / Task / Cancel.php
index 71a29f9d893e819bbfe4fd12921e84721606f047..32507e7e55536e841f9d0746c82d4e61d0a43751 100644 (file)
@@ -46,7 +46,7 @@ class CRM_Event_Form_Task_Cancel extends CRM_Event_Form_Task {
    * @return void
    */
   public function buildQuickForm() {
-    CRM_Utils_System::setTitle(ts('Cancel Registration for Event Participation'));
+    $this->setTitle(ts('Cancel Registration for Event Participation'));
     $session = CRM_Core_Session::singleton();
     $this->addDefaultButtons(ts('Cancel Registrations'), 'done');
   }