From 73f2d3323c10ebe92e1555515ee5c9454baff19e Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Thu, 15 Feb 2018 11:13:09 +0000 Subject: [PATCH] Bug 15565: Remove use of GetBiblionumberFromItemnumber Signed-off-by: Benjamin Rokseth Signed-off-by: Katrin Fischer --- opac/opac-reserve.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 9f7e3571dc..1cc417224b 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -237,7 +237,7 @@ if ( $query->param('place_reserve') ) { my $biblionumber = $biblioNum; #item may belong to a host biblio, if yes change biblioNum to hosts bilbionumber - my $hostbiblioNum = GetBiblionumberFromItemnumber($itemnumber); + my $hostbiblioNum = Koha::Items->find( $itemnumber )->biblio->biblionumber; if ( $hostbiblioNum ne $biblioNum ) { $biblionumber = $hostbiblioNum; } -- 2.11.0