2
0
forked from Wavyzz/dolibarr

Merge pull request #27094 from defrance/patch-306

php V8 warning
This commit is contained in:
Laurent Destailleur
2023-12-19 16:14:10 +01:00
committed by GitHub

View File

@@ -1290,6 +1290,9 @@ if ($resql) {
$savnbfield = $totalarray['nbfield'];
$totalarray = array();
$totalarray['nbfield'] = 0;
$totalarray['totaldeb'] = 0;
$totalarray['totalcred'] = 0;
$imaxinloop = ($limit ? min($num, $limit) : $num);
while ($i < $imaxinloop) {
$objp = $db->fetch_object($resql);