fix formatting

This commit is contained in:
Mohit Panjwani
2021-09-15 11:24:13 +05:30
parent 7d71cc1607
commit e2299794ad

View File

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