From 3748c4b77e41f269b6707ad6442cf1966f699090 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Fri, 10 Jun 2016 20:48:18 +0530 Subject: [PATCH] CRM-18807, fixed fatal error when saving participant ---------------------------------------- * CRM-18807: Fatal error when trying to register participant offline https://issues.civicrm.org/jira/browse/CRM-18807 --- CRM/Event/Form/Participant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 570e5612f3..8a46f09e44 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -1743,7 +1743,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment } } CRM_Core_Session::setStatus($statusMsg, ts('Saved'), 'success'); - + $session = CRM_Core_Session::singleton(); $buttonName = $this->controller->getButtonName(); if ($this->_context == 'standalone') { if ($buttonName == $this->getButtonName('upload', 'new')) { -- 2.25.1