$dao = CRM_Core_DAO::executeQuery($query);
if ($dao->fetch()) {
$this->assign('groupName', !empty($dao->frontend_title) ? $dao->frontend_title : $dao->title);
- CRM_Utils_System::setTitle(ts('Subscribe to Mailing List - %1', [1 => !empty($dao->frontend_title) ? $dao->frontend_title : $dao->title]));
+ $this->setTitle(ts('Subscribe to Mailing List - %1', [1 => !empty($dao->frontend_title) ? $dao->frontend_title : $dao->title]));
}
else {
CRM_Core_Error::statusBounce("The specified group is not configured for this action OR The group doesn't exist.");
}
else {
$this->assign('single', FALSE);
- CRM_Utils_System::setTitle(ts('Mailing List Subscription'));
+ $this->setTitle(ts('Mailing List Subscription'));
}
}