diff --git a/htdocs/compta/bank/annuel.php b/htdocs/compta/bank/annuel.php
index 177855c9302..d2e1e0f5f8a 100644
--- a/htdocs/compta/bank/annuel.php
+++ b/htdocs/compta/bank/annuel.php
@@ -195,10 +195,10 @@ print '';
for ($mois = 1; $mois < 13; $mois++) {
print '
';
print "| ".dol_print_date(dol_mktime(1, 1, 1, $mois, 1, 2000), "%B")." | ";
- for ($annee = $year_start; $annee <= $year_end; $annee++) {
- $totsorties[$annee] = 0;
- $totentrees[$annee] = 0;
+ $totsorties[$annee] = 0;
+ $totentrees[$annee] = 0;
+ for ($annee = $year_start; $annee <= $year_end; $annee++) {
$case = sprintf("%04s-%02s", $annee, $mois);
print ' ';
|