Fix master-only regression - tax term not assigned
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 20 Nov 2023 02:42:41 +0000 (15:42 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 20 Nov 2023 02:42:41 +0000 (15:42 +1300)
Typo in just merged code

CRM/Contribute/Form/Contribution/Confirm.php

index d3172f995fd6452a3fbd1f46366d6293c080f4b6..3ba638b24ba3c245fdb0f6d0cb668a17fb684cca 100644 (file)
@@ -486,7 +486,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
     }
     $this->assign('receiptFromEmail', $this->_values['receipt_from_email'] ?? NULL);
     $this->assign('amount_block_is_active', $this->isFormSupportsNonMembershipContributions());
-    $this->assign('taxTerm', \Civi::settings()->get('taxTerm'));
+    $this->assign('taxTerm', \Civi::settings()->get('tax_term'));
     $this->assign('totalTaxAmount', $this->order->getTotalTaxAmount());
     $isDisplayLineItems = $this->_priceSetId && !CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $this->_priceSetId, 'is_quick_config');
     $this->assign('isDisplayLineItems', $isDisplayLineItems);