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

Smart groups as a criteria fatal error reports

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.6
    • Component/s: CiviReport
    • Labels:
      None

      Description

      If you set a group filter in a report and you set one or more of the groups to be a smart group, there's a fatal error. I tracked down the problem to line 81 of Contact/BAO/GroupContactCache.php it's a minor change to fix…

      $groupIDString = CRM_CORE_DAO::escapeString(implode(', ', $groupID));

      is missing an 's' on the variable name

      $groupIDString = CRM_CORE_DAO::escapeString(implode(', ', $groupIDs));

      makes everything work fine.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              chrischinchilla Chris Chinchilla
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: