From 7eb0f22084e5fa45a85da6a24d26f4f0fea6aed6 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Thu, 27 Feb 2025 10:01:05 +0100 Subject: [PATCH] CI --- htdocs/compta/facture/card.php | 2 +- htdocs/core/modules/modCategorie.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index f86cdae5981..205fd16721b 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -4112,7 +4112,7 @@ if ($action == 'create') { print ''.$langs->trans("Categories").''; $cate_arbo = $form->select_all_categories(Categorie::TYPE_INVOICE, '', 'parent', 64, 0, 1); $arrayselected = GETPOST('categories', 'array'); - print img_picto('', 'category').$form->multiselectarray('categories', $cate_arbo, $arrayselected, '', 0, 'quatrevingtpercent widthcentpercentminusx', 0, 0); + print img_picto('', 'category').$form->multiselectarray('categories', $cate_arbo, $arrayselected, 0, 0, 'quatrevingtpercent widthcentpercentminusx', 0, '0'); print ""; } diff --git a/htdocs/core/modules/modCategorie.class.php b/htdocs/core/modules/modCategorie.class.php index 4584c7d8bba..6a431545860 100644 --- a/htdocs/core/modules/modCategorie.class.php +++ b/htdocs/core/modules/modCategorie.class.php @@ -714,11 +714,11 @@ class modCategorie extends DolibarrModules } // 17 Invoice - if (isModEnabled("facture")) { + if (isModEnabled("invoice")) { ++$r; $this->importTagLinks( $r, - 'facture', + 'invoice', '/compta/facture/class/facture.class.php', 'Facture', 'Facture'