From 40d4b3dc3146d06e54470240633011f48fdf4c44 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 5 Jan 2024 17:54:16 +1300 Subject: [PATCH] Fix validation on event-change --- 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 43951ad95d..a95e3159eb 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -769,7 +769,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $errorMsg['payment_instrument_id'] = ts('Payment Method is a required field.'); } if (!empty($values['priceSetId'])) { - CRM_Price_BAO_PriceField::priceSetValidation($values['priceSetId'], $values, $errorMsg); + CRM_Price_BAO_PriceField::priceSetValidation($self->getPriceSetID(), $values, $errorMsg); } } -- 2.25.1