From 97e705079b5c65f0fe77911c8e27eccb8a15f11d Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 3 Jan 2008 12:36:30 -0600 Subject: [PATCH] OPAC detail print: use correct API to build item list Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- opac/opac-detailprint.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opac/opac-detailprint.pl b/opac/opac-detailprint.pl index 35a19e9cfa..d420bd99cc 100755 --- a/opac/opac-detailprint.pl +++ b/opac/opac-detailprint.pl @@ -23,6 +23,7 @@ require Exporter; use C4::Context; use CGI; use C4::Biblio; +use C4::Items; use C4::Auth; use C4::Output; use C4::Dates; @@ -34,7 +35,7 @@ my $type = $query->param('type'); my $biblionumber = $query->param('biblionumber'); # change back when ive fixed request.pl -my @items = GetItemInfosOf($biblionumber); +my @items = GetItemsInfo($biblionumber); my $norequests = 1; foreach my $itm (@items) { $norequests = 0 unless $itm->{'notforloan'}; -- 2.20.1