@@ -, +, @@ --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -3799,7 +3799,7 @@ sub CalcDateDue { my $calendar = Koha::DiscreteCalendar->new({ branchcode => $branch, days_mode => $daysmode }); if ( $calendar->is_holiday($datedue) ) { # Don't return on a closed day - $datedue = $calendar->prev_open_days( $datedue )->set(hour => 23, minute => 59); + $datedue = $calendar->prev_open_day( $datedue )->set(hour => 23, minute => 59); } } } --