From a56690d3a441abb9e911598865cc68e07e598487 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=utf8 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 Signed-off-by: Kyle M Hall --- circ/returns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/returns.pl b/circ/returns.pl index 11b69c9c5c..d1b95e8d82 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} // $materials; - my $issue = GetItemIssue($itemnumber); + my $issue = Koha::Checkouts->find( { itemnumber => $itemnumber } ); $template->param( title => $biblio->{'title'}, -- 2.39.5