From d6c219af5818caf3ce95fa37492e5cc9cf7ab41a Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 16 Jun 2017 15:16:43 +0530 Subject: [PATCH] CRM-20741 - Cancellation message shown as error --- CRM/Event/Form/Registration/ParticipantConfirm.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Event/Form/Registration/ParticipantConfirm.php b/CRM/Event/Form/Registration/ParticipantConfirm.php index ff7d7b856b..2d134f3950 100644 --- a/CRM/Event/Form/Registration/ParticipantConfirm.php +++ b/CRM/Event/Form/Registration/ParticipantConfirm.php @@ -213,9 +213,8 @@ class CRM_Event_Form_Registration_ParticipantConfirm extends CRM_Event_Form_Regi } $this->postProcessHook(); - - CRM_Core_Error::statusBounce($statusMessage, - CRM_Utils_System::url('civicrm/event/info', + CRM_Core_Session::setStatus($statusMessage); + CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/event/info', "reset=1&id={$this->_eventId}&noFullMsg=1", FALSE, NULL, FALSE, TRUE ) -- 2.25.1