@@ -, +, @@ --- C4/XSLT.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/C4/XSLT.pm +++ a/C4/XSLT.pm @@ -247,7 +247,8 @@ sub XSLTParse4Display { $variables ||= {}; if (C4::Context->preference('OPACShowOpenURL')) { - my ($biblio) = GetBiblioItemByBiblioNumber($biblionumber); + my $biblio_object = Koha::Biblios->find($biblionumber); + my $biblio = $biblio_object->biblioitem->unblessed; my @itypes = split( /\s/, C4::Context->preference('OPACOpenURLItemTypes') ); if (grep /^$biblio->{itemtype}$/, @itypes) { $variables->{OpenURLResolverURL} = --