From 5fa45efd0214727d0a7a03e76ba6ce8a01de5a4e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 2 Apr 2021 14:35:08 +0000 Subject: [PATCH] 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 --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 39848cb21e..9a4fbeb475 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2925,6 +2925,7 @@ sub CanBookBeRenewed { } last; } + $patrons->reset; } } } -- 2.11.0