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
......@@ -1016,7 +1016,9 @@ 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')){ unlink($filePathInTmpNoExtension.'.html');}
if(file_exists($filePathInTmpNoExtension.'.html')) {
unlink($filePathInTmpNoExtension.'.html');
}
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