Skip to content

Commit

Permalink
use $outputlangs instead of $langs
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Mar 15, 2018
1 parent f6fd03a commit 09d0dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/modules/expedition/doc/pdf_rouget.modules.php
Expand Up @@ -124,7 +124,7 @@ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hid
if (! empty($conf->global->MAIN_USE_FPDF)) $outputlangs->charset_output='ISO-8859-1';

// Translations
$langs->loadLangs(array("main", "bills", "products", "dict", "companies", "propal", "deliveries", "sendings", "productbatch"));
$outputlangs->loadLangs(array("main", "bills", "products", "dict", "companies", "propal", "deliveries", "sendings", "productbatch"));

$nblignes = count($object->lines);

Expand Down

0 comments on commit 09d0dc7

Please sign in to comment.