diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index b68f89f1e75df..603d4e7afc2f4 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -7,7 +7,7 @@ * Copyright (C) 2004 Christophe Combelles * Copyright (C) 2005-2019 Regis Houssin * Copyright (C) 2008 Raphael Bertrand (Resultic) - * Copyright (C) 2010-2018 Juanjo Menent + * Copyright (C) 2010-2023 Juanjo Menent * Copyright (C) 2013 Cédric Salvador * Copyright (C) 2013-2021 Alexandre Spangaro * Copyright (C) 2014 Cédric GROSS @@ -212,7 +212,8 @@ function isModEnabled($module) $arrayconv = array( 'project' => 'projet', 'contract' => 'contrat', - 'bank' => 'banque' + 'bank' => 'banque', + 'category' => 'categorie' ); if (empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD)) { $arrayconv['supplier_order'] = 'fournisseur';