diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 810593f7d0a..ece0ec99b63 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -572,16 +572,17 @@ class pdf_crabe extends ModelePDFFactures $pdf->SetFont('Arial','',10); $pdf->MultiCell(40, 4, "Tél : ".FAC_PDF_TEL); } - if (defined("MAIN_INFO_SIRET")) - { - $pdf->SetFont('Arial','',10); - $pdf->MultiCell(60, 4, "SIRET : ".MAIN_INFO_SIRET); - } - elseif (defined("MAIN_INFO_SIREN")) + + if (defined("MAIN_INFO_SIREN")) { $pdf->SetFont('Arial','',10); $pdf->MultiCell(60, 4, "SIREN : ".MAIN_INFO_SIREN); } + elseif (defined("MAIN_INFO_SIRET")) + { + $pdf->SetFont('Arial','',10); + $pdf->MultiCell(60, 4, "SIRET : ".MAIN_INFO_SIRET); + } /*