mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	solve empty buffer clean issue
This commit is contained in:
		| @ -22,7 +22,7 @@ class DownloadReceiptController extends Controller | ||||
|             if ($media) { | ||||
|                 $imagePath = $media->getPath(); | ||||
|                 $response = \Response::download($imagePath, $media->file_name); | ||||
|                 ob_end_clean(); | ||||
|                 if (ob_get_contents()) ob_end_clean(); | ||||
|  | ||||
|                 return $response; | ||||
|             } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user