From 17b741a1bbb3f05583872f3a28ce877cbaead41e Mon Sep 17 00:00:00 2001 From: Jean-Laurent <jean-laurent.duzant@xelians.fr> Date: Thu, 27 Jan 2022 15:31:41 +0100 Subject: [PATCH] FIX #19325 TIME 0:01 if norme - Jean-Laurent --- src/app/resource/controllers/FolderPrintController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/resource/controllers/FolderPrintController.php b/src/app/resource/controllers/FolderPrintController.php index 360479c2897..9ed08fabc7c 100755 --- a/src/app/resource/controllers/FolderPrintController.php +++ b/src/app/resource/controllers/FolderPrintController.php @@ -1016,7 +1016,7 @@ class FolderPrintController file_put_contents($filePathInTmpNoExtension.'.html', mb_convert_encoding($emailMeta_emailDataBody, 'HTML', 'UTF-8')); ConvertPdfController::convertInPdf(['fullFilename' => $filePathInTmpNoExtension.'.html']); - if(file_exists($filePathInTmpNoExtension.'.html')) { + if (file_exists($filePathInTmpNoExtension.'.html')) { unlink($filePathInTmpNoExtension.'.html'); } -- GitLab