X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPayment.php;h=6d9bee416874947587fa17595a2163a5464a8c10;hb=df7b228fa9581f10fa2948928d5d4914b0987d55;hp=ee25a938677fff9ba9ab6c176103ac4b91df8d34;hpb=63af2623343f410d84b58da71a86d8e876b7bdcc;p=civicrm-core.git diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index ee25a93867..6d9bee4168 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -366,7 +366,7 @@ abstract class CRM_Core_Payment { public function validatePaymentInstrument($values, &$errors) { CRM_Core_Form::validateMandatoryFields($this->getMandatoryFields(), $values, $errors); if ($this->_paymentProcessor['payment_type'] == 1) { - CRM_Core_Payment_Form::validateCreditCard($this->_paymentProcessor['id'], $values, $errors); + CRM_Core_Payment_Form::validateCreditCard($values, $errors, $this->_paymentProcessor['id']); } }