Merge branch 'ob-clean-issue' into 'master'

solve empty buffer clean issue

See merge request mohit.panjvani/crater-web!909
This commit is contained in:
Mohit Panjwani
2021-08-17 06:18:41 +00:00

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;
} }