Skip to content
Snippets Groups Projects
Commit 7a71915f authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT
Browse files

FIX #19325 TIME 0:01 fix php condition norme - Jean-Laurent

parent 8f32082c
No related branches found
No related tags found
No related merge requests found
...@@ -1016,7 +1016,9 @@ class FolderPrintController ...@@ -1016,7 +1016,9 @@ class FolderPrintController
file_put_contents($filePathInTmpNoExtension.'.html', mb_convert_encoding($emailMeta_emailDataBody, 'HTML', 'UTF-8')); file_put_contents($filePathInTmpNoExtension.'.html', mb_convert_encoding($emailMeta_emailDataBody, 'HTML', 'UTF-8'));
ConvertPdfController::convertInPdf(['fullFilename' => $filePathInTmpNoExtension.'.html']); ConvertPdfController::convertInPdf(['fullFilename' => $filePathInTmpNoExtension.'.html']);
if(file_exists($filePathInTmpNoExtension.'.html')){ unlink($filePathInTmpNoExtension.'.html');} if(file_exists($filePathInTmpNoExtension.'.html')) {
unlink($filePathInTmpNoExtension.'.html');
}
return $filePathInTmpNoExtension.'.pdf'; return $filePathInTmpNoExtension.'.pdf';
} }
......
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