followup : auto_truncation 3287252c0
[koha.git] / opac / opac-detailprint.pl
index 35a19e9..8d11cfc 100755 (executable)
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
 use C4::Context;
 use CGI;
 use C4::Biblio;
+use C4::Items;
 use C4::Auth;
 use C4::Output;
 use C4::Dates;
@@ -34,7 +34,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'};