This commit is contained in:
BB2A Anthony Berton 2022-03-23 17:31:54 +01:00
parent 316380afd2
commit 958b6abdaa

View File

@ -836,7 +836,7 @@ class Notify
break; break;
} }
$ref = dol_sanitizeFileName($newref); $ref = dol_sanitizeFileName($newref);
$pdf_path = $dir_output."/".$ref.".pdf"; $pdf_path = $dir_output."/".$ref."/".$ref.".pdf";
if (!dol_is_file($pdf_path)) { if (!dol_is_file($pdf_path)) {
// We can't add PDF as it is not generated yet. // We can't add PDF as it is not generated yet.
$filepdf = ''; $filepdf = '';