|
@@ -32,8 +32,8 @@ require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
|
|
|
|
|
|
-$langs->load("categories");
|
|
|
-$langs->load("languages");
|
|
|
+// Load translation files required by the page
|
|
|
+$langs->loadLangs(array('categories', 'languages'));
|
|
|
|
|
|
$id = GETPOST('id', 'int');
|
|
|
$ref = GETPOST('ref', 'alpha');
|