Merge pull request #4773 from civicrm/version-fix
[civicrm-core.git] / CRM / Event / Form / Registration / AdditionalParticipant.php
index 60c815778cef72799f96a7ac57c54bc350f32526..1f80dce8022445b5db3b901329d011cdad3b18cc 100644 (file)
@@ -552,7 +552,7 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R
     CRM_Core_Form::validateMandatoryFields($self->_fields, $fields, $errors);
 
     // make sure that credit card number and cvv are valid
-    CRM_Core_Payment_Form::validatePaymentInstrument($self->_params[0], $errors, $self);
+    CRM_Core_Payment_Form::validateCreditCard($self->_params[0], $errors);
 
     if ($errors) {
       return FALSE;