|
@@ -36,10 +36,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
|
|
|
if (! empty($conf->projet->enabled)) require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
|
|
|
|
|
|
-$langs->load("companies");
|
|
|
-$langs->load("commercial");
|
|
|
-$langs->load("other");
|
|
|
-$langs->load("bills");
|
|
|
+// Load translation files required by the page
|
|
|
+$langs->loadLangs(array('companies', 'commercial', 'other', 'bills'));
|
|
|
|
|
|
$id = GETPOST('id', 'int');
|
|
|
$action=GETPOST('action', 'alpha');
|