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

API Utils _civicrm_api3_get_options_from_params doesn't handle sort as an array properly

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.24, 4.7.14
    • Fix Version/s: 4.6.25, 4.7.15
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      At Present when _civicrm_api3_get_options_from_params tries to replace a simple 'id' with the lower case entity id for the sorting, it fails presently if the sort is an array. This can lead to some mysql errors.

        Attachments

          Activity

            People

            • Assignee:
              seamuslee Seamus Lee
              Reporter:
              seamuslee Seamus Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: