diff --git a/core/class/template.class.php b/core/class/template.class.php index 290edf67..cab07c7a 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -630,7 +630,9 @@ class template { $html .= ''; } // Pas de tableau d'Id transmis, générer une numérotation - $rowsId = range(0,count($body)); + if (empty($rowsId)) { + $rowsId = range(0,count($body)); + } // Début contenu $j = 0; foreach($body as $tr) {