diff --git a/plugins/ScheduledReports/ScheduledReports.php b/plugins/ScheduledReports/ScheduledReports.php index 53bf30c502db0de5b840062d3faf2cc3b1acab43..dcab10dcfd7be8c669338f7155385f8e8cd4d3a2 100644 --- a/plugins/ScheduledReports/ScheduledReports.php +++ b/plugins/ScheduledReports/ScheduledReports.php @@ -341,7 +341,7 @@ class ScheduledReports extends \Piwik\Plugin break; case 'csv': - $message .= "\n$messageFindAttached\n$messageSentFrom"; + $message = "\n$messageFindAttached\n$messageSentFrom"; if ($displaySegmentInfo) { $message .= " " . $segmentInfo; @@ -359,7 +359,7 @@ class ScheduledReports extends \Piwik\Plugin default: case 'pdf': - $message .= "\n$messageFindAttached\n$messageSentFrom"; + $message = "\n$messageFindAttached\n$messageSentFrom"; if ($displaySegmentInfo) { $message .= " " . $segmentInfo;