X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FRegistration.php;h=c104fa17555d6b9fd8833abcb108215517d43b91;hb=e397490df3998de7c8862fbebf1b36348c4ed205;hp=e284d2daf1db4d919a387fcc0646d419b454500c;hpb=d880d1db343ce51a575d446d2748e3e1e5468277;p=civicrm-core.git diff --git a/CRM/Event/Form/Registration.php b/CRM/Event/Form/Registration.php index e284d2daf1..c104fa1755 100644 --- a/CRM/Event/Form/Registration.php +++ b/CRM/Event/Form/Registration.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -27,7 +27,7 @@ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 */ /** @@ -391,9 +391,7 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { $this->_contributeMode = $this->get('contributeMode'); $this->assign('contributeMode', $this->_contributeMode); - // setting CMS page title - CRM_Utils_System::setTitle($this->_values['event']['title']); - $this->assign('title', $this->_values['event']['title']); + $this->setTitle($this->_values['event']['title']); $this->assign('paidEvent', $this->_values['event']['is_monetary']);