From: Pradeep Nayak Date: Fri, 10 Jun 2016 15:18:18 +0000 (+0530) Subject: CRM-18807, fixed fatal error when saving participant X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3748c4b77e41f269b6707ad6442cf1966f699090;p=civicrm-core.git 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 --- 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')) {