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'