use $outputlangs instead of $langs
This commit is contained in:
parent
e6d2effba1
commit
3f0764f282
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue