From e897235c464c026e4ab638c477c8a89d7ee7ec91 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Mon, 14 Jun 2021 05:34:05 +0000 Subject: [PATCH] [php8-compact] Fix failing AuthorizeNetIPN tests on php8 --- .../CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl b/templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl index 55a0a51db4..78b154da7e 100644 --- a/templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl +++ b/templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl @@ -7,7 +7,7 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{if $subscriptionType eq 'cancel'} +{if isset($subscriptionType) && $subscriptionType eq 'cancel'} @@ -16,7 +16,7 @@ {$subscriptionId} -{elseif $subscriptionType eq 'updateBilling'} +{elseif isset($subscriptionType) && $subscriptionType eq 'updateBilling'} @@ -42,7 +42,7 @@ -{elseif $subscriptionType eq 'update'} +{elseif isset($subscriptionType) && $subscriptionType eq 'update'} -- 2.25.1