Merge pull request #22074 from eileenmcnaughton/tags
[civicrm-core.git] / CRM / Campaign / Form / Search.php
index 66d744995c6843179a6cfd0f9c5f0429c5e89ee6..5244c8b904d31abe43ec1a101fdbadfcaf22c5ab 100644 (file)
@@ -55,7 +55,7 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
    */
   public function preProcess() {
     $this->_done = FALSE;
-    $this->_defaults = array();
+    $this->_defaults = [];
 
     //set the button name.
     $this->_printButtonName = $this->getButtonName('next', 'print');
@@ -144,7 +144,7 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
     }
 
     //set the form title.
-    CRM_Utils_System::setTitle(ts('Find Respondents To %1', array(1 => ucfirst($this->_operation))));
+    $this->setTitle(ts('Find Respondents To %1', array(1 => ucfirst($this->_operation))));
   }
 
   /**