diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php index a16e5f06639..53281c5e94c 100644 --- a/htdocs/categories/index.php +++ b/htdocs/categories/index.php @@ -82,6 +82,7 @@ $arrayofcateg = array(); foreach ($categstatic->MAP_ID as $key => $idtype) { $arrayofcateg[$idtype] = array(); $arrayofcateg[$idtype]['key'] = $key; + $arrayofcateg[$idtype]['nb'] = 0; $arrayofcateg[$idtype]['label'] = $langs->transnoentitiesnoconv($categstatic::$MAP_TYPE_TITLE_AREA[$key]); $arrayofcateg[$idtype]['labelwithoutaccent'] = dol_string_unaccent($langs->transnoentitiesnoconv($categstatic::$MAP_TYPE_TITLE_AREA[$key])); }