Explorar el Código

Fix lang loading

Laurent Destailleur hace 7 años
padre
commit
7f8570f720
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  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');