Bug 2940 - private shelf (list) display error on 2nd and subsequent pages.
[koha.git] / opac / opac-detailprint.pl
index 72a16c3..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::Date;
+use C4::Dates;
 
 my $query = new CGI;
 my $type  = $query->param('type');
@@ -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'};