diff --git a/htdocs/compta/bank/bankentries_list.php b/htdocs/compta/bank/bankentries_list.php index cc6f63dcbce..a0a54bdcccd 100644 --- a/htdocs/compta/bank/bankentries_list.php +++ b/htdocs/compta/bank/bankentries_list.php @@ -1292,7 +1292,7 @@ if ($resql) { $totalarray['nbfield'] = 0; $totalarray['totaldeb'] = 0; $totalarray['totalcred'] = 0; - + $imaxinloop = ($limit ? min($num, $limit) : $num); while ($i < $imaxinloop) { $objp = $db->fetch_object($resql);