CRM-15555 remove last instances of refs to hard-coded payment field types
[civicrm-core.git] / CRM / Event / Form / EventFees.php
index de19ab6ab8a7a855cede7d5ad42c02ca8b34c33e..81b88772bb53de75b21a74241b91b5fa7005863a 100644 (file)
@@ -410,7 +410,7 @@ SELECT  id, html_type
         }
       }
       if ($form->_mode) {
-        CRM_Core_Payment_Form::buildCreditCard($form, TRUE);
+        CRM_Core_Payment_Form::buildPaymentForm($form, $form->_processor, FALSE);
       }
       elseif (!$form->_mode) {
         $form->addElement('checkbox', 'record_contribution', ts('Record Payment?'), NULL,