From 128b14d28254596d9056a6178a22876b1ef97d38 Mon Sep 17 00:00:00 2001 From: sunil Date: Thu, 9 Feb 2017 12:55:44 +0530 Subject: [PATCH] CRM-19931 : corrected else if syntax --- CRM/Core/Payment/ProcessorForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/ProcessorForm.php b/CRM/Core/Payment/ProcessorForm.php index 8d0aabc41e..3060db17a7 100644 --- a/CRM/Core/Payment/ProcessorForm.php +++ b/CRM/Core/Payment/ProcessorForm.php @@ -116,7 +116,7 @@ class CRM_Core_Payment_ProcessorForm { $isBillingAddressRequiredForPayLater = FALSE; $form->addElement('hidden', 'hidden_processor', 1); } - else if (!isset($processorId)) { + elseif (!isset($processorId)) { // If No Payment processor selected, then billing address is not required // e.g Fee amount is zero, then all Payment Method option get unchecked and Payment Options section is hidden $isBillingAddressRequiredForPayLater = FALSE; -- 2.25.1