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:
3a518e1
)
Fix missing participant params regression from 27605
author
larssandergreen
<lars@wildsight.ca>
Thu, 28 Sep 2023 23:05:08 +0000
(17:05 -0600)
committer
larssandergreen
<lars@wildsight.ca>
Thu, 28 Sep 2023 23:05:08 +0000
(17:05 -0600)
CRM/Event/Form/EventFees.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/Form/EventFees.php
b/CRM/Event/Form/EventFees.php
index 19df7f16719e6b223409cc69d3cbe907fb0124a1..b0601f014b7b62c305b4c12271692b42b896eada 100644
(file)
--- a/
CRM/Event/Form/EventFees.php
+++ b/
CRM/Event/Form/EventFees.php
@@
-73,6
+73,8
@@
class CRM_Event_Form_EventFees {
$params = ['id' => $form->_pId];
CRM_Event_BAO_Participant::getValues($params, $defaults, $ids);
+ $defaults += $defaults[$form->_pId];
+ unset($defaults[$form->_pId]);
if ($form->_action == CRM_Core_Action::UPDATE) {
$discounts = [];
if (!empty($form->_values['discount'])) {