Merge pull request #8272 from aspangaro/7.0
Fix : Missing language file
This commit is contained in:
commit
951babae6d
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ require_once DOL_DOCUMENT_ROOT . '/core/lib/admin.lib.php';
|
|||
if (! empty($conf->accounting->enabled)) require_once DOL_DOCUMENT_ROOT . '/core/class/html.formaccounting.class.php';
|
||||
|
||||
$langs->load('admin');
|
||||
$langs->load("products");
|
||||
|
||||
if (!$user->admin) accessforbidden();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue