From b06864e6c157af19cf302a34401ef958f91e99b0 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 7 Nov 2023 11:41:14 +1300 Subject: [PATCH] Clarify that the values passed are the submitted values, not altered values --- 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 9694e95f0f..00a74cc60f 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -1133,7 +1133,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $this->_eventId, $contributionParams, NULL, - CRM_Price_BAO_PriceSet::parseFirstPriceSetValueIDFromParams($this->_params) + CRM_Price_BAO_PriceSet::parseFirstPriceSetValueIDFromParams($this->getSubmittedValues()) ); } } -- 2.25.1