From: Eileen McNaughton Date: Tue, 21 Nov 2023 05:15:13 +0000 (+1300) Subject: Fix regression on line item display on thank you X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=637ac42928534e42654c48fd114c5cb3945f375c;p=civicrm-core.git Fix regression on line item display on thank you --- diff --git a/CRM/Contribute/Form/Contribution/ThankYou.php b/CRM/Contribute/Form/Contribution/ThankYou.php index a8d7594e29..ee339475c7 100644 --- a/CRM/Contribute/Form/Contribution/ThankYou.php +++ b/CRM/Contribute/Form/Contribution/ThankYou.php @@ -97,7 +97,7 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont $this->assign('getTaxDetails', (bool) $this->order->getTotalTaxAmount()); $this->assign('totalTaxAmount', $this->order->getTotalTaxAmount()); $this->assign('taxTerm', \Civi::settings()->get('tax_term')); - $this->assign('lineItem', $this->isQuickConfig() ? NULL : $this->order->getLineItems()); + $this->assign('lineItem', $this->isQuickConfig() ? NULL : [$this->getPriceSetID() => $this->order->getLineItems()]); if (!$this->isQuickConfig()) { if (is_array($membershipTypeID)) { $membershipTypeID = current($membershipTypeID);