This commit is contained in:
Frédéric FRANCE 2024-06-04 19:23:04 +02:00 committed by GitHub
parent 8e8fdccec7
commit f9264de0dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -580,8 +580,10 @@ class FormListWebPortal
// Loop on record
// --------------------------------------------------------------------
$i = 0;
$totalarray = array();
$totalarray['nbfield'] = 0;
$totalarray = [
'nbfield' => 0,
'totalizable' => [],
];
$imaxinloop = ($limit ? min($num, $limit) : $num);
while ($i < $imaxinloop) {
$obj = $this->db->fetch_object($resql);