forked from TFMM/silent-auction
fix: use correct Options object for Dompdf configuration
This commit is contained in:
@@ -275,8 +275,10 @@ class PagesController extends Controller
|
||||
GROUP BY winning_bids.winning_bidder_num
|
||||
");
|
||||
|
||||
$dompdf = new Dompdf();
|
||||
$dompdf->setOptions(['isHtml5ParserEnabled' => true, 'isRemoteEnabled' => true]);
|
||||
$options = new \Dompdf\Options();
|
||||
$options->set('isHtml5ParserEnabled', true);
|
||||
$options->set('isRemoteEnabled', true);
|
||||
$dompdf = new Dompdf($options);
|
||||
|
||||
$html = view('receiptpdf', [
|
||||
'checkout_final_results' => $checkout_final_results,
|
||||
|
||||
Reference in New Issue
Block a user