From b7a83c2cbcfb6b655ce762656411d3990d042a93 Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Tue, 17 May 2016 13:20:30 +0100 Subject: [PATCH] NFC Move comments --- CRM/Event/Form/Registration/Confirm.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index d5e5044655..a837b05891 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -1041,6 +1041,11 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { /** * Fix the Location Fields. * + * @todo Reconcile with the contribution method formatParamsForPaymentProcessor + * rather than adding different logic to check when to keep the billing + * fields. There might be a difference in handling guest/multiple + * participants though. + * * @param array $params * @param array $fields * @param CRM_Core_Form $form @@ -1054,10 +1059,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { // If there's no 'first_name' in the profile then overwrite the names from // the billing fields (if they are set) - // @todo Reconcile with the contribution method formatParamsForPaymentProcessor - // rather than adding different logic to check when to keep the billing - // fields. There might be a difference in handling guest/multiple - // participants though. if (is_array($fields)) { if (!array_key_exists('first_name', $fields)) { $nameFields = array('first_name', 'middle_name', 'last_name'); -- 2.25.1