Disable tab if not on develop mode

This commit is contained in:
Laurent Destailleur 2017-11-22 21:23:42 +01:00
parent 5fa8db1650
commit 240f67d82b

View File

@ -262,7 +262,7 @@ function project_timesheet_prepare_head($mode, $fuser=null)
$h++;
}
if (empty($conf->global->MAIN_FEATURE_LEVEL >= 2))
if ($conf->global->MAIN_FEATURES_LEVEL >= 2)
{
$head[$h][0] = DOL_URL_ROOT."/projet/activity/perline.php".($param?'?'.$param:'');
$head[$h][1] = $langs->trans("InputDetail");