From 1555e0242b64ada57d1573fa8343fce1a2093d41 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 22 Feb 2023 10:28:30 +0100 Subject: [PATCH] FIX label dictionary is used by barcode and member module --- htdocs/admin/dict.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index ed5e4c06b3d..e6af95d77cb 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -512,7 +512,7 @@ $tabcond[25] = !empty($conf->website->enabled); $tabcond[27] = !empty($conf->societe->enabled); $tabcond[28] = !empty($conf->holiday->enabled); $tabcond[29] = !empty($conf->project->enabled); -$tabcond[30] = !empty($conf->label->enabled); +$tabcond[30] = (isModEnabled('barcode') || isModEnabled('adherent')); //$tabcond[31]= !empty($conf->accounting->enabled); $tabcond[32] = (!empty($conf->holiday->enabled) || !empty($conf->hrm->enabled)); $tabcond[33] = !empty($conf->hrm->enabled);