From 52dab54b97dfd464d12d046a3cf9954d1a1c98cf Mon Sep 17 00:00:00 2001 From: hystepik Date: Mon, 20 Mar 2023 16:45:21 +0100 Subject: [PATCH] add feature levell check --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);