From bed599a96380b8e086915262939e3572c76646ff 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 --- C4/Circulation.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 4a27c3b..8ee7e6e 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.7.4