FIX - php 8 totalarray

This commit is contained in:
Anthony Berton 2022-10-29 21:49:03 +02:00
parent 41175b73ee
commit 8efaf03ec9

View File

@ -1887,6 +1887,8 @@ if ($resql) {
$savnbfield = $totalarray['nbfield'];
$totalarray = array();
$totalarray['nbfield'] = 0;
$totalarray['val']['c.total_tva'] = 0;
$totalarray['val']['c.total_ttc'] = 0;
$imaxinloop = ($limit ? min($num, $limit) : $num);
while ($i < $imaxinloop) {
$obj = $db->fetch_object($resql);