Standardize and update code

This commit is contained in:
Philippe GRAND 2018-09-17 09:00:23 +02:00
parent 797de131a6
commit a1b15f170e

View File

@ -430,8 +430,9 @@ class ChargeSociales extends CommonObject
{
// phpcs:enable
global $langs;
$langs->load('customers');
$langs->load('bills');
// Load translation files required by the page
$langs->loadLangs(array("customers","bills"));
if ($mode == 0 || $mode == 1)
{