Skip to content
Snippets Groups Projects
Commit 9ec7debe authored by aydreeihn's avatar aydreeihn
Browse files

MPDF Tasks

Use the psize that is set in the options array since $psize is not in the Task2PDF contructor.
parent c38f0456
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ class Task2PDF extends mPDFWithLocalImages {
$this->task = $task;
$this->options = $options;
parent::__construct(['mode' => 'utf-8', 'format' => $psize, 'tempDir'=>sys_get_temp_dir()]);
parent::__construct(['mode' => 'utf-8', 'format' => $this->options['psize'], 'tempDir'=>sys_get_temp_dir()]);
$this->_print();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment