diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php index 1b482e13238..34b89e911f6 100644 --- a/htdocs/admin/system/modules.php +++ b/htdocs/admin/system/modules.php @@ -298,9 +298,11 @@ foreach ($moduleList as $module) { $idperms .= ($idperms ? ", " : "").$permission; $translationKey = "Permission".$permission; - if (empty($langs->tab_translate[$translationKey])) { - $tooltip = 'Missing translation (key '.$translation.' not found in admin.lang)'; - $idperms .= ' Warning'; + if (! empty($conf->global->MAIN_SHOW_PERMISSION)) { + if (empty($langs->tab_translate[$translationKey])) { + $tooltip = 'Missing translation (key '.$translationkey.' not found in admin.lang)'; + $idperms .= ' Warning'; + } } }