diff --git a/htdocs/fourn/commande/contact.php b/htdocs/fourn/commande/contact.php index f62ccd03331..85739bdb6ef 100644 --- a/htdocs/fourn/commande/contact.php +++ b/htdocs/fourn/commande/contact.php @@ -33,10 +33,8 @@ if (! empty($conf->projet->enabled)) { require_once DOL_DOCUMENT_ROOT . '/projet/class/project.class.php'; } -$langs->load("facture"); -$langs->load("orders"); -$langs->load("sendings"); -$langs->load("companies"); +// Load translation files required by the page +$langs->loadLangs(array("facture","orders","sendings","companies")); $id = GETPOST('id', 'int'); $ref = GETPOST('ref', 'alpha');