mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Fix: Load lang files of modules
This commit is contained in:
@@ -326,6 +326,16 @@ foreach ($orders as $key => $value)
|
||||
|
||||
$const_name = $objMod->const_name;
|
||||
|
||||
// Load all lang files of module
|
||||
if (is_array($objMod->langfiles))
|
||||
{
|
||||
foreach($objMod->langfiles as $domain)
|
||||
{
|
||||
$langs->load($domain);
|
||||
}
|
||||
}
|
||||
|
||||
// Print a separator if we change family
|
||||
if ($oldfamily && $family!=$oldfamily && $atleastoneforfamily) {
|
||||
print "<tr class=\"liste_titre\">\n <td colspan=\"9\"></td>\n</tr>\n";
|
||||
$atleastoneforfamily=0;
|
||||
|
||||
Reference in New Issue
Block a user