From 1d000dbd65b9b9c02c5437c1515ac9ef59436346 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak <pradpnayak@gmail.com> Date: Tue, 19 Jun 2018 00:37:50 +0530 Subject: [PATCH] fixed smarty error Signed-off-by: Kevin Cristiano <kcristiano@tadpole.cc> --- civicrm/templates/CRM/Event/Form/EventFees.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/civicrm/templates/CRM/Event/Form/EventFees.tpl b/civicrm/templates/CRM/Event/Form/EventFees.tpl index 93887cb5d9..3240542128 100644 --- a/civicrm/templates/CRM/Event/Form/EventFees.tpl +++ b/civicrm/templates/CRM/Event/Form/EventFees.tpl @@ -24,7 +24,7 @@ +--------------------------------------------------------------------+ *} {assign var=isRecordPayment value=1 } -{assign var=isShowBillingBlock value=($action neq 2)} +{capture assign="isShowBillingBlock"}{if $action neq 2}1{else}0{/if}{/capture} {if $paid} {* We retrieve this tpl when event is selected - keep it empty if event is not paid *} <table class="form-layout"> {if $priceSet} -- GitLab