From 7ca4c47dd3cc522061cd37629454d2032cc0acc7 Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Sat, 27 May 2023 23:09:41 -0600 Subject: [PATCH] Serialize Participant fee_level when using Change Selections --- CRM/Price/BAO/LineItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Price/BAO/LineItem.php b/CRM/Price/BAO/LineItem.php index 64823e5599..e48adf5d4d 100644 --- a/CRM/Price/BAO/LineItem.php +++ b/CRM/Price/BAO/LineItem.php @@ -1034,7 +1034,7 @@ WHERE li.contribution_id = %1"; $line[$getUpdatedLineItemsDAO->price_field_value_id] = $getUpdatedLineItemsDAO->label . ' - ' . (float) $getUpdatedLineItemsDAO->qty; } - $partUpdateFeeAmt['fee_level'] = implode(', ', $line); + $partUpdateFeeAmt['fee_level'] = $line; $partUpdateFeeAmt['fee_amount'] = $inputParams['amount']; CRM_Event_BAO_Participant::add($partUpdateFeeAmt); -- 2.25.1