From 3f0764f282f0ef6fa7a5f8a062e5d5ab9718485f Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Thu, 15 Mar 2018 09:17:53 +0100 Subject: [PATCH] use $outputlangs instead of $langs --- htdocs/core/modules/facture/doc/pdf_crabe.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php index 1af1cd1875c..25bee86088c 100644 --- a/htdocs/core/modules/facture/doc/pdf_crabe.modules.php +++ b/htdocs/core/modules/facture/doc/pdf_crabe.modules.php @@ -178,7 +178,7 @@ class pdf_crabe extends ModelePDFFactures if (! empty($conf->global->MAIN_USE_FPDF)) $outputlangs->charset_output='ISO-8859-1'; // Translations - $langs->loadLangs(array("main", "bills", "products", "dict", "companies")); + $outputlangs->loadLangs(array("main", "bills", "products", "dict", "companies")); $nblignes = count($object->lines);