diff --git a/core/core.php b/core/core.php index 006f566d..0c443de4 100644 --- a/core/core.php +++ b/core/core.php @@ -3312,7 +3312,7 @@ class template { * @param array $attributes Attributs ($key => $value) * @return string */ - public static function table(array $cols = [], array $body = [], array $head = [], array $attributes = []) { + public static function table(array $cols = [], array $body = [], array $head = [], array $attributes = [], array $rowsId = []) { // Attributs par défaut $attributes = array_merge([ 'class' => '', @@ -3337,9 +3337,11 @@ class template { $html .= ''; } // Début contenu - $j = 1; - foreach($body as $tr) { - $html .= '