diff --git a/app/Http/Controllers/ProposalController.php b/app/Http/Controllers/ProposalController.php index 5aac39f528..a38fb53364 100644 --- a/app/Http/Controllers/ProposalController.php +++ b/app/Http/Controllers/ProposalController.php @@ -168,7 +168,7 @@ class ProposalController extends BaseController $proposal = $request->entity(); $mpdf = new mPDF(); - $mpdf->showImageErrors = true; + $mpdf->showImageErrors = config('app.debug'); $mpdf->WriteHTML($proposal->present()->htmlDocument); //$mpdf->Output();