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

CRM_Event_BAO_Participant::fixEventLevel causes leading character to be stripped from amount_level in Contribution selector

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: CiviContribute, CiviEvent
    • Labels:
      None

      Description

      CRM_Contribute_Selector_Search invokes the above function on line 336. The function is designed to replace Ctrl+A characters for price set based amount_level strings. However, for non-price-set multiple participant cases it strips the first character from the fee-level string.

      So you get:
      "$ 150.00 (ingle (multiple participants))"

      instead of:
      "$ 150.00 (Single (multiple participants))"

      (I tried a simple fix of changing the offset, but that wound-up 'breaking' the display for a price-set multiple participant case by leaving a comma in the front of the string. So do test both cases before closing).

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: