Remove isset from Arb.xml
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 31 Aug 2023 06:13:49 +0000 (18:13 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 31 Aug 2023 06:13:49 +0000 (18:13 +1200)
The variable has already been checked so it must already be 'assigned enough'

templates/CRM/Contribute/Form/Contribution/AuthorizeNetARB.tpl

index 970eb4d6cd52762bd2c4eaba88cd3ef54fd37273..55a0a51db4b095c27f9f0b33586b035c232cb5e6 100644 (file)
@@ -42,7 +42,7 @@
     </billTo>
   </subscription>
 </ARBUpdateSubscriptionRequest>
-{elseif isset($subscriptionType) && $subscriptionType eq 'update'}
+{elseif $subscriptionType eq 'update'}
 <?xml version="1.0" encoding="utf-8"?>
 <ARBUpdateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>