diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 776f898d9b0..069d839202e 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -2042,7 +2042,7 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab if (!$notab || $notab == -1 || $notab == -2 || $notab == -3) { $out .= "\n".'
'."\n"; } - if (!empty($dragdropfile)) { + if (getDolGlobalString("MAIN_FEATURES_LEVEL") >= 2 && !empty($dragdropfile)) { $out .= dragAndDropFileUpload("dragDropAreaTabBar"); } $parameters = array('tabname' => $active, 'out' => $out);