From 22d69ccafb3e4d06cb5e8ddf5040f753d574175e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 29 Jan 2025 20:39:49 +0100 Subject: [PATCH] 1.20.01 bug template table --- core/class/template.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/template.class.php b/core/class/template.class.php index 30f4fbd..2553792 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -886,7 +886,7 @@ class template $html .= ''; // Pas de tableau d'Id transmis, générer une numérotation if (empty($rowsId)) { - $rowsId = range(0, count($body)); + $rowsId = range(0, count($cols)); } // Entêtes if ($head) {