From 8599d5b675072977dec4a78831017cd395e96cfe Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Jun 2017 10:48:29 -0300 Subject: [PATCH] Bug 17680: Fix regression - is_overdue must be called is_overdue must be called even if there is not dropbox date (!) Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- C4/Circulation.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 4a27c3ba77..8ee7e6ee21 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1930,6 +1930,8 @@ sub AddReturn { $circControlBranch = _GetCircControlBranch($item,$borrower); $is_overdue = $issue->is_overdue( $dropboxdate ); + } else { + $is_overdue = $issue->is_overdue; } if ($borrowernumber) { -- 2.39.5