From 89c7d328fdeaea96adca3d9a179ad26695dbc292 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 5 Jul 2017 17:11:24 -0300 Subject: [PATCH] Bug 17680: Fix conflict with bug 18651 $issue is now a Koha::Checkout, not a hashref Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 8ee7e6ee21..6303c86824 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1938,7 +1938,7 @@ sub AddReturn { eval { my $issue_id = MarkIssueReturned( $borrowernumber, $item->{'itemnumber'}, $circControlBranch, $return_date, $borrower->{'privacy'} ); - $issue->{issue_id} = $issue_id; + $issue->issue_id($issue_id); }; unless ( $@ ) { if ( ( C4::Context->preference('CalculateFinesOnReturn') && $is_overdue ) || $return_date ) { -- 2.39.5