From f538b84714dd8b4b34c4c2a1be47aaad0f5bb0bd Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 31 Mar 2022 10:47:10 +1300 Subject: [PATCH] Remove remaining empty checks on pay_later offline receipt --- xml/templates/message_templates/event_offline_receipt_html.tpl | 2 +- xml/templates/message_templates/event_offline_receipt_text.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/templates/message_templates/event_offline_receipt_html.tpl b/xml/templates/message_templates/event_offline_receipt_html.tpl index 73a78718e6..e9a228662f 100644 --- a/xml/templates/message_templates/event_offline_receipt_html.tpl +++ b/xml/templates/message_templates/event_offline_receipt_html.tpl @@ -36,7 +36,7 @@ {if !empty($isPrimary)}

{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}

{/if} - {elseif !empty($is_pay_later)} + {elseif $is_pay_later}

{$pay_later_receipt}

{* FIXME: this might be text rather than HTML *} {/if} diff --git a/xml/templates/message_templates/event_offline_receipt_text.tpl b/xml/templates/message_templates/event_offline_receipt_text.tpl index 59848be976..751254bdeb 100644 --- a/xml/templates/message_templates/event_offline_receipt_text.tpl +++ b/xml/templates/message_templates/event_offline_receipt_text.tpl @@ -25,7 +25,7 @@ {/if} ==========================================================={if !empty($pricesetFieldsCount) }===================={/if} -{elseif !empty($is_pay_later)} +{elseif $is_pay_later} ==========================================================={if !empty($pricesetFieldsCount) }===================={/if} -- 2.25.1