diff --git a/include/class.pdf.php b/include/class.pdf.php index df85cd2ef4a06abd4eb1fe247b7fce902ff5c058..de5529438ba4c4f3b186a3e2c1d769f263a5285e 100644 --- a/include/class.pdf.php +++ b/include/class.pdf.php @@ -108,7 +108,7 @@ class Task2PDF extends mPDFWithLocalImages { $this->task = $task; $this->options = $options; - parent::__construct('', $this->options['psize']); + parent::__construct(['format' => $this->options['psize']]); $this->_print(); }