use $outputlangs instead of $langs
This commit is contained in:
parent
09d0dc7ba7
commit
e6d2effba1
@ -156,7 +156,7 @@ class pdf_standard extends ModeleExpenseReport
|
|||||||
if (! empty($conf->global->MAIN_USE_FPDF)) $outputlangs->charset_output='ISO-8859-1';
|
if (! empty($conf->global->MAIN_USE_FPDF)) $outputlangs->charset_output='ISO-8859-1';
|
||||||
|
|
||||||
// Translations
|
// Translations
|
||||||
$langs->loadLangs(array("main", "trips", "projects", "dict"));
|
$outputlangs->loadLangs(array("main", "trips", "projects", "dict"));
|
||||||
|
|
||||||
$nblignes = count($object->lines);
|
$nblignes = count($object->lines);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user