From 1824eb8d6d318ed8aa2e784d6f0e2192a480a129 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug 17680 is removing it. Signed-off-by: Jonathan Druart Signed-off-by: Josef Moravec Signed-off-by: Marc VĂ©ron --- circ/returns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/returns.pl b/circ/returns.pl index 81ce0b0..f5571f9 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -284,7 +284,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