From: Eileen McNaughton Date: Sun, 13 Aug 2023 00:08:35 +0000 (+1200) Subject: Remove line that gives error & does nothing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c61688632df475ac8de9ff9b66a607de8f32b6bc;p=civicrm-core.git 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 --- 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']),