This commit is contained in:
Laurent Destailleur 2022-09-08 16:39:47 +02:00
parent e19e65d362
commit f26e2652e6

View File

@ -41,7 +41,7 @@ function datapolicyAdminPrepareHead()
$head[$h][2] = 'settings';
$h++;
if (!empty($conf->global->DATAPOLICY_ENABLE_EMAILS) || getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 1) {
if (!empty($conf->global->DATAPOLICY_ENABLE_EMAILS) || getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 2) {
$head[$h][0] = DOL_URL_ROOT."/datapolicy/admin/setupmail.php";
$head[$h][1] = $langs->trans("DATAPOLICYMail");
$head[$h][2] = 'emailing';