Bug 28013: (follow-up) Reset the patron loop

To test:
1 - Apply all other patches and dependencies
2 - prove -v t/db_dependent/Circulation.t
3 - It fails
4 - Apply this patch
5 - It passes

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 626d1f22a0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Nick Clemens 2021-04-02 14:35:08 +00:00 committed by Fridolin Somers
parent 82e1674c70
commit 60a44d0da1
1 changed files with 1 additions and 0 deletions

View File

@ -2911,6 +2911,7 @@ sub CanBookBeRenewed {
}
last;
}
$patrons->reset;
}
}
}