Merge branch 'ent-4989-Revision-final-EDFi-741-PDF' into 'develop'
Fixed pdf See merge request artica/pandorafms!2922
This commit is contained in:
commit
f4b347c632
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue