Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
63120f97
Commit
63120f97
authored
Jan 27, 2022
by
Jean-Laurent DUZANT
Browse files
FIX #19325 TIME 0:01 fix php condition norme - Jean-Laurent
parent
8199b251
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/resource/controllers/FolderPrintController.php
View file @
63120f97
...
@@ -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'
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment