projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdc8f6
)
CRM-18807, fixed fatal error when saving participant
author
Pradeep Nayak
<pradpnayak@gmail.com>
Fri, 10 Jun 2016 15:18:18 +0000
(20:48 +0530)
committer
Pradeep 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
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/Form/Participant.php
b/CRM/Event/Form/Participant.php
index 570e5612f3d992743241151f6c922429fa3ffaa8..8a46f09e440a41970fb144597280faf05088c2bb 100644
(file)
--- 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')) {