Fix test
This commit is contained in:
parent
23fe2c7f47
commit
ab3642d8fb
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ foreach ($listofmodulesautoenabled as $moduleautoenable) {
|
|||
}
|
||||
}
|
||||
|
||||
if (1 || $user->admin && $nbmodulesnotautoenabled <= getDolGlobalInt('MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING', 1)) { // If only minimal initial modules enabled
|
||||
if ($user->admin && $nbmodulesnotautoenabled <= getDolGlobalInt('MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING', 1)) { // If only minimal initial modules enabled
|
||||
$langs->load("admin");
|
||||
print info_admin($langs->trans("WarningOnlyCategoryTypesOfActivatedModules").' '.$langs->trans("YouCanEnableModulesFrom"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue