diff --git a/C4/Circulation.pm b/C4/Circulation.pm index fb8d365484..d5ee99f32a 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2174,6 +2174,9 @@ sub MarkIssueReturned { # Update the returndate $dbh->do( $query, undef, @bind ); + # We just updated the returndate, so we need to refetch $issue + $issue->discard_changes; + # Create the old_issues entry my $old_checkout = Koha::Old::Checkout->new($issue->unblessed)->store;