Browse Source

Fix lang loading

Laurent Destailleur 7 years ago
parent
commit
7f8570f720
1 changed files with 1 additions and 4 deletions
  1. 1 4
      htdocs/compta/facture/fiche-rec.php

+ 1 - 4
htdocs/compta/facture/fiche-rec.php

@@ -43,10 +43,7 @@ require_once DOL_DOCUMENT_ROOT . '/core/class/doleditor.class.php';
 require_once DOL_DOCUMENT_ROOT . '/core/lib/invoice.lib.php';
 require_once DOL_DOCUMENT_ROOT . '/core/class/extrafields.class.php';
 
-$langs->load('bills');
-$langs->load('compta');
-$langs->load('admin');
-$langs->load('other');
+$langs->loadLangs(array('bills','compta','admin','other','products'));
 
 $action     = GETPOST('action','alpha');
 $massaction = GETPOST('massaction','alpha');