CRM-19931 : corrected else if syntax
authorsunil <esunil.pawar@gmail.com>
Thu, 9 Feb 2017 07:25:44 +0000 (12:55 +0530)
committersunil <esunil.pawar@gmail.com>
Thu, 9 Feb 2017 07:25:44 +0000 (12:55 +0530)
CRM/Core/Payment/ProcessorForm.php

index 8d0aabc41ecd3c00a5eb179f9b27b2819eed608b..3060db17a79c3022a6f4f91b99676623f4d7053c 100644 (file)
@@ -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;