Merge pull request #23221 from eileenmcnaughton/mapField
[civicrm-core.git] / CRM / Event / Form / Task / SaveSearch.php
index 32f54f67f2f0207432a6e6598ffbc821c9ebf622..f05f682fd02258264f1b96a9d5457d0c96f04114 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Event_Form_Task_SaveSearch extends CRM_Event_Form_Task {
    * @return void
    */
   public function buildQuickForm() {
-    CRM_Utils_System::setTitle(ts('Smart Group'));
+    $this->setTitle(ts('Smart Group'));
     // get the qill
     $query = new CRM_Event_BAO_Query($this->get('formValues'));
     $qill = $query->qill();