From 240f67d82b71d09e81087f8d6c1ad5d46d147e8d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 22 Nov 2017 21:23:42 +0100 Subject: [PATCH] Disable tab if not on develop mode --- htdocs/core/lib/project.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php index f91f31f39ad..4731f9cf58e 100644 --- a/htdocs/core/lib/project.lib.php +++ b/htdocs/core/lib/project.lib.php @@ -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");