Remove registered_by_id as not set in this flow
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 6 Nov 2023 22:26:03 +0000 (11:26 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 8 Nov 2023 20:24:13 +0000 (09:24 +1300)
CRM/Event/Form/Participant.php

index b9a1fc6ef4338882b94ac5b16b20f6ce812d645d..9694e95f0fa6d180e12378529f483d2c8d9eab97 100644 (file)
@@ -1626,7 +1626,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
       'fee_level' => $params['amount_level'] ?? NULL,
       'is_pay_later' => FALSE,
       'fee_amount' => $params['fee_amount'] ?? NULL,
-      'registered_by_id' => $params['registered_by_id'] ?? NULL,
       'discount_id' => $params['discount_id'] ?? NULL,
       'fee_currency' => $params['currencyID'] ?? NULL,
       'campaign_id' => $this->getSubmittedValue('campaign_id'),