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) {