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

fix getOptionLabel in CRM/Core/BAO/CustomOption.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      1. retrieve htmlType/dataType if null

      2. call getDisplayValue to do the real work

      3. restructure and split getDisplayValue so it can be reused

      4. The above fixes getOptionLabel which was buggy for "options" with multiple values

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              peterd peter davis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: