CRM-18807, fixed fatal error when saving participant
authorPradeep Nayak <pradpnayak@gmail.com>
Fri, 10 Jun 2016 15:18:18 +0000 (20:48 +0530)
committerPradeep Nayak <pradpnayak@gmail.com>
Fri, 10 Jun 2016 15:18:18 +0000 (20:48 +0530)
----------------------------------------
* CRM-18807: Fatal error when trying to register participant offline
  https://issues.civicrm.org/jira/browse/CRM-18807

CRM/Event/Form/Participant.php

index 570e5612f3d992743241151f6c922429fa3ffaa8..8a46f09e440a41970fb144597280faf05088c2bb 100644 (file)
@@ -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')) {