Serialize Participant fee_level when using Change Selections
authorlarssandergreen <lars@wildsight.ca>
Sun, 28 May 2023 05:09:41 +0000 (23:09 -0600)
committerlarssandergreen <lars@wildsight.ca>
Sun, 28 May 2023 05:09:41 +0000 (23:09 -0600)
CRM/Price/BAO/LineItem.php

index 64823e5599e9f6d5773bc67cdb1703b6d32a147a..e48adf5d4d4f571fd8f2adc58b73414473142ac3 100644 (file)
@@ -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);