From 5b50135a53f3ec6237e2aad2e93f1293b0077eb7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 23 Nov 2023 15:14:19 +0100 Subject: [PATCH] FIX #26813 --- htdocs/core/modules/contract/doc/pdf_strato.modules.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/contract/doc/pdf_strato.modules.php b/htdocs/core/modules/contract/doc/pdf_strato.modules.php index df664626f2b..f2e16ec4bd1 100644 --- a/htdocs/core/modules/contract/doc/pdf_strato.modules.php +++ b/htdocs/core/modules/contract/doc/pdf_strato.modules.php @@ -89,7 +89,7 @@ class pdf_strato extends ModelePDFContract */ public function __construct($db) { - global $conf, $langs, $mysoc; + global $langs, $mysoc; $this->db = $db; $this->name = 'strato'; @@ -513,8 +513,7 @@ class pdf_strato extends ModelePDFContract $hidetop = -1; } - $currency = !empty($currency) ? $currency : $conf->currency; - $default_font_size = pdf_getPDFFontSize($outputlangs); + //$default_font_size = pdf_getPDFFontSize($outputlangs); /* $pdf->SetXY($this->marge_gauche, $tab_top);