Commit 63120f97 authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT
Browse files

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

parent 8199b251
...@@ -1026,7 +1026,9 @@ class FolderPrintController ...@@ -1026,7 +1026,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';
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment