diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index a72be363eb2..42f9a2e8d0c 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -1028,6 +1028,8 @@ if ($action == 'create') { if (isModEnabled('categorie')) { print ''.$langs->trans("Categories").''; $cate_arbo = $form->select_all_categories(Categorie::TYPE_ACCOUNT, '', 'parent', 64, 0, 1); + + $arrayselected = array(); $c = new Categorie($db); $cats = $c->containing($object->id, Categorie::TYPE_ACCOUNT); if (is_array($cats)) {