From c61688632df475ac8de9ff9b66a607de8f32b6bc Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 13 Aug 2023 12:08:35 +1200 Subject: [PATCH] Remove line that gives error & does nothing I went back to 5.55 & did receipt testing and 1) this notice is there already back then 2) it results in a resolved value of 'Array - Display name 3) it does not appear anywhere in the final receipt --- CRM/Event/Form/Participant.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index fee7ae3faa..4aa657e1a7 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -2207,9 +2207,6 @@ INNER JOIN civicrm_price_field_value value ON ( value.id = lineItem.price_field_ $this->assign('taxTerm', $this->getSalesTaxTerm()); $this->assign('dataArray', $dataArray); } - if (!empty($additionalParticipantDetails)) { - $params['amount_level'] = preg_replace('//', '', $params['amount_level']) . ' - ' . $this->_contributorDisplayName; - } $eventAmount[$num] = [ 'label' => preg_replace('//', '', $params['amount_level']), -- 2.25.1