From 5d0a54c0de1adc2fccfd96747988046b611c1cf2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 26 Nov 2020 12:07:01 +0100 Subject: [PATCH] Fix var not defined --- htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php | 1 - htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php b/htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php index 159ff81e33e..a84e6fed4a2 100644 --- a/htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php +++ b/htdocs/core/modules/commande/doc/pdf_eratosthene.modules.php @@ -635,7 +635,6 @@ class pdf_eratosthene extends ModelePDFCommandes } - $nexY = max($pdf->GetY(), $posYAfterImage); diff --git a/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php b/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php index 4ea8fcc585d..5e2e4380a0b 100644 --- a/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php +++ b/htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php @@ -400,6 +400,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices $pageposbefore = $pdf->getPage(); $showpricebeforepagebreak = 1; + $posYAfterImage = 0; // Description of product line $curX = $this->posxdesc - 1;