Fixed pdf

This commit is contained in:
Daniel Barbero Martin 2019-11-27 15:22:39 +01:00
parent 50b4812476
commit e6afe84940
1 changed files with 3 additions and 3 deletions

View File

@ -2092,9 +2092,9 @@ class Diagnostics extends Wizard
*
* @param string|null $filename Filename.
*
* @return void
* @return mixed
*/
public function exportPDF(?string $filename=null):void
public function exportPDF(?string $filename=null)
{
global $config;
@ -2141,7 +2141,7 @@ class Diagnostics extends Wizard
// Write html filename.
$mpdf->writePDFfile($filename);
exit;
return;
}