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

mail click report errors if mailing name has special chars

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.5, 3.3.6, 3.4.alpha, 3.4.beta, 3.4.0, 3.4.1, 3.4.2, 4.0.0, 4.0.1, 4.0.2
    • Fix Version/s: 3.4.3, 4.0.3
    • Component/s: CiviReport
    • Labels:
      None

      Description

      the mail click report includes a multi select field for the mailing name. the mailing name could contain special chars, such as a single quote, which breaks the report. to fix -

      around line 362, change to:
      $data[mysql_real_escape_string($mailing->name)] = $mailing->name;

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: