Skip to content

Commit

Permalink
Merge pull request #31 from mtub/viewreport
Browse files Browse the repository at this point in the history
*7796* renamed view report file name
  • Loading branch information
asmecher committed Aug 28, 2012
2 parents e912fd7 + a3a409d commit 891fc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/reports/views/ViewReportPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function display(&$args) {
}

header('content-type: text/comma-separated-values');
header('content-disposition: attachment; filename=report.csv');
header('content-disposition: attachment; filename=views-' . date('Ymd') . '.csv');
$fp = fopen('php://output', 'wt');
fputcsv($fp, array_merge($columns, $galleyLabels));

Expand Down

0 comments on commit 891fc87

Please sign in to comment.