Skip to content

Commit 451b25d

Browse files
committed
Fix MathJaxProcess.php with new constuctor signature
1 parent 9c1b68e commit 451b25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MathJaxProcess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_once __DIR__ . '/bootstrap.php';
44

55
$mpdf = new \Mpdf\Mpdf();
6-
$sizeConverter = new \Mpdf\SizeConverter($mpdf->dpi, $mpdf->default_font_size);
6+
$sizeConverter = new \Mpdf\SizeConverter($mpdf->dpi, $mpdf->default_font_size, $mpdf, new \Psr\Log\NullLogger());
77

88
if (strpos($_REQUEST['bodydata'], 'id%3D%22MathJax_SVG_Hidden%22') === false) {
99
die('Hacking attempt');

0 commit comments

Comments
 (0)