From 73d0597991253299cd1817cfdc781a85f3450936 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 28 Oct 2023 10:32:29 +1300 Subject: [PATCH] rc only regression - price set validation on participant form --- CRM/Event/Form/Participant.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index b4c0c6559f..d867ae8b12 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -733,8 +733,8 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment if (empty($values['payment_instrument_id'])) { $errorMsg['payment_instrument_id'] = ts('Payment Method is a required field.'); } - if ($self->getPriceSetID()) { - CRM_Price_BAO_PriceField::priceSetValidation($self->getPriceSetID(), $values, $errorMsg); + if (!empty($values['priceSetId'])) { + CRM_Price_BAO_PriceField::priceSetValidation($values['priceSetId'], $values, $errorMsg); } } -- 2.25.1