CRM-17256 fix for paylater billing_required
[civicrm-core.git] / CRM / Contribute / Form / Contribution.php
index 074fe609e9151cdf9f772fe8ff39dc0e2a5bd69e..7b00a75e11592bc03b2937885b108173cca75f6c 100644 (file)
@@ -907,7 +907,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
       }
       else {
         // validate payment instrument (e.g. credit card number)
-        CRM_Core_Payment_Form::validatePaymentInstrument($fields['payment_processor_id'], $fields, $errors, $self);
+        CRM_Core_Payment_Form::validatePaymentInstrument($fields['payment_processor_id'], $fields, $errors, NULL);
       }
     }