From ebaff206b264ef1bfd1ade4f9219967d73cd8e15 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 17 Nov 2023 16:19:04 +1300 Subject: [PATCH] Reverse variable check to fix notice --- templates/CRM/Contribute/Form/Contribution/Confirm.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contribute/Form/Contribution/Confirm.tpl b/templates/CRM/Contribute/Form/Contribution/Confirm.tpl index 5d8492e35d..751649284a 100644 --- a/templates/CRM/Contribute/Form/Contribution/Confirm.tpl +++ b/templates/CRM/Contribute/Form/Contribution/Confirm.tpl @@ -33,7 +33,7 @@
- {if $lineItem and $isDisplayLineItems} + {if $isDisplayLineItems && $lineItem} {if !$amount}{assign var="amount" value=0}{/if} {assign var="totalAmount" value=$amount} {include file="CRM/Price/Page/LineItem.tpl" context="Contribution"} -- 2.25.1