From a88f3eb0c49d9004e8e8f5f100fc37d2dc0864fb Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Tue, 27 May 2025 19:28:49 +0200 Subject: [PATCH] Fix index.php (#34262) fix php error --- htdocs/categories/index.php | 1 + 1 file changed, 1 insertion(+) 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])); }