Skip to content

Commit

Permalink
Merge pull request #81 from takeuji/csv-output-fix
Browse files Browse the repository at this point in the history
Cannot modify header informationエラーを修正
  • Loading branch information
chihiro-adachi authored Aug 26, 2022
2 parents 0a2c82a + ba8f17b commit 2ffc60d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Controller/Admin/ProductReviewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ public function download(Request $request)
$filename = 'product_review_'.$now->format('YmdHis').'.csv';
$response->headers->set('Content-Type', 'application/octet-stream');
$response->headers->set('Content-Disposition', 'attachment; filename='.$filename);
$response->send();

log_info('商品レビューCSV出力ファイル名', [$filename]);

Expand Down

0 comments on commit 2ffc60d

Please sign in to comment.