From 637ac42928534e42654c48fd114c5cb3945f375c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 21 Nov 2023 18:15:13 +1300 Subject: [PATCH] Fix regression on line item display on thank you --- CRM/Contribute/Form/Contribution/ThankYou.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1