From 077fa512c36f8ecd43cea8fc4feecd7a34e1f44b 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 (!) --- 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.11.0