From 021abc7509650c7fc3302d792e6eeac6954c3483 Mon Sep 17 00:00:00 2001 From: thibdrev Date: Sun, 25 Sep 2022 21:34:36 +0200 Subject: [PATCH] FIX|Fix Dolibarr#22404 Improve logo tooltip with max uploadsize info --- htdocs/admin/company.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index ef4e6e64a5b..54aa7fcdd74 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -27,6 +27,7 @@ * \brief Setup page to configure company/foundation */ +// Load Dolibarr environment require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; @@ -466,7 +467,7 @@ print ''."\n"; // Barcode -if (!empty($conf->barcode->enabled)) { +if (isModEnabled('barcode') { print ''; print ''; print '';