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

CRM_Event_BAO_Query::whereClauseSingle() contains bad array reference

    Details

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

      Description

      The participant_role_id case of CRM_Event_BAO_Query::whereClauseSingle() attempts an invalid array reference when $value is not array valued. The attached patch seems to work, but I don't understand the original code well enough to recommend it

        Attachments

        1. CRM-11851.txt
          2 kB
          Donald A. Lobo
        2. crm-event-bao-query.patch
          0.8 kB
          Keith Morgan
        3. view-event-error.jpg
          60 kB
          Keith Morgan

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              keith@wellebee.com Keith Morgan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: