From 392211dcda61fa3d2ac98f4d86e67904bbbf6e04 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 1 Feb 2017 15:56:34 +0100 Subject: [PATCH] Bug 14224: Do not reintroduce GetItemIssue, it's dying Bug 17680 is removing it. Signed-off-by: Jonathan Druart Signed-off-by: Josef Moravec --- circ/returns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/returns.pl b/circ/returns.pl index dcbbd53..9f809c0 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -283,7 +283,7 @@ if ($barcode) { my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => '', kohafield =>'items.materials', authorised_value => $materials }); $materials = $descriptions->{lib} // ''; - my $issue = GetItemIssue($itemnumber); + my $issue = Koha::Checkouts->find( { itemnumber => $itemnumber } ); $template->param( title => $biblio->{'title'}, -- 2.1.4