Fix: Si la variable FAC_PDF_LOGO est dfinie un fichier logo qui n'existe pas, la gnration
de la facture crabe se terminait avec une erreur impropre.
This commit is contained in:
parent
e2cdb8f1f6
commit
d81eb3d595
@ -503,8 +503,8 @@ Class pdf_crabe {
|
||||
$pdf->Image(FAC_PDF_LOGO, 10, 5, 0, 24, 'PNG');
|
||||
}
|
||||
else {
|
||||
$pdf->SetTextColor(150,0,0);
|
||||
$pdf->SetFont('Arial','B',10);
|
||||
$pdf->SetTextColor(200,0,0);
|
||||
$pdf->SetFont('Arial','B',8);
|
||||
$pdf->MultiCell(80, 6, "Logo file '".FAC_PDF_LOGO."' was not found", 0, 'L');
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user