From 4c5e9599113416a2bfe8bf76fa6c19d91f1c0c4a Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Sun, 17 Oct 2021 23:52:24 +0000 Subject: [PATCH] Fixing style errors. --- .../core/modules/supplier_payment/doc/pdf_standard.modules.php | 2 +- htdocs/fourn/paiement/card.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php b/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php index 37e2cbf98f6..0a4cd815d45 100644 --- a/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php +++ b/htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php @@ -826,7 +826,7 @@ class pdf_standard extends ModelePDFSuppliersPayments $iban = $obj->iban_prefix; } - if(!empty($iban)) { + if (!empty($iban)) { $pdf->SetFont('', '', $default_font_size - 1); $pdf->SetXY($posx + 2, $posy + 15); $pdf->MultiCell($widthrecbox, 4, $langs->trans("IBAN").': '.$iban, 0, 'L'); diff --git a/htdocs/fourn/paiement/card.php b/htdocs/fourn/paiement/card.php index 61a57868eca..c4abcce44a9 100644 --- a/htdocs/fourn/paiement/card.php +++ b/htdocs/fourn/paiement/card.php @@ -411,7 +411,6 @@ if ($result > 0) { $trackid = 'pre'.$object->id; include DOL_DOCUMENT_ROOT.'/core/tpl/card_presend.tpl.php'; - } else { $langs->load("errors"); print $langs->trans("ErrorRecordNotFound");