Merge branch 'master'

This commit is contained in:
Mohit Panjwani
2021-09-07 11:33:00 +05:30

View File

@ -22,7 +22,7 @@ class DownloadReceiptController extends Controller
if ($media) { if ($media) {
$imagePath = $media->getPath(); $imagePath = $media->getPath();
$response = \Response::download($imagePath, $media->file_name); $response = \Response::download($imagePath, $media->file_name);
ob_end_clean(); if (ob_get_contents()) ob_end_clean();
return $response; return $response;
} }