Merge branch 'ent-4989-Revision-final-EDFi-741-PDF' into 'develop'

Fixed pdf

See merge request artica/pandorafms!2922
This commit is contained in:
daniel 2019-11-27 15:24:49 +01:00
commit f4b347c632
1 changed files with 3 additions and 3 deletions

View File

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