Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11041

Iteration bug in CRM_Core_Payment::handlePaymentMethod

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.2.3
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Fix for a bug introduced in CRM-9929 / CRM-9979 - string concatenation should be moved outside the loop, or the value produced will only be correct on the first iteration.

      This will cause subsequent code to fail when more than one instance of a given payment processor is enabled.

      Patch attached.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              andyw Andrew Walker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: