From: eileen Date: Fri, 5 Jan 2024 04:54:16 +0000 (+1300) Subject: Fix validation on event-change X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=40d4b3dc3146d06e54470240633011f48fdf4c44;p=civicrm-core.git Fix validation on event-change --- 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); } }