Skip to content

Commit

Permalink
#7531 Fix a double encoded site name bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Mar 27, 2015
1 parent c26067f commit 28c3cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/ScheduledReports/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ public function generateReport($idReport, $date, $language = false, $outputType
// render report
$description = str_replace(array("\r", "\n"), ' ', $report['description']);

list($reportSubject, $reportTitle) = self::getReportSubjectAndReportTitle(Site::getNameFor($idSite), $report['reports']);
list($reportSubject, $reportTitle) = self::getReportSubjectAndReportTitle(html_entity_decode(Site::getNameFor($idSite)), $report['reports']);
$filename = "$reportTitle - $prettyDate - $description";

// if reporting for a segment, use the segment's name in the title
Expand Down

0 comments on commit 28c3cd1

Please sign in to comment.