Skip to content

Commit

Permalink
Merge pull request #17510 from mattwire/paymentprocessorinstrumentnot…
Browse files Browse the repository at this point in the history
…required

Payment instrument ID is not required at processorform level
  • Loading branch information
eileenmcnaughton authored Jun 7, 2020
2 parents 930e452 + c806290 commit 8b01fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Payment/ProcessorForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static function buildQuickForm(&$form) {
if (!empty($processorId)) {
$form->addElement('hidden', 'hidden_processor', 1);
}
CRM_Core_Payment_Form::buildPaymentForm($form, $form->_paymentProcessor, $billing_profile_id, $form->isBackOffice, $form->paymentInstrumentID);
CRM_Core_Payment_Form::buildPaymentForm($form, $form->_paymentProcessor, $billing_profile_id, $form->isBackOffice, $form->paymentInstrumentID ?? NULL);
}

}

0 comments on commit 8b01fa5

Please sign in to comment.