X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=reports%2Freservereport.pl;h=42a1d2019d27c986ab7402f900a6a15cac300dc1;hb=92d021f989227fa798b13f63abae4ebf53744d17;hp=4f8a427d445f064334b5453af5a5e9e49dc1af8c;hpb=6e7a4d3a3da8db196dddb502c09817dd291f3590;p=koha_fer diff --git a/reports/reservereport.pl b/reports/reservereport.pl index 4f8a427d44..42a1d2019d 100755 --- a/reports/reservereport.pl +++ b/reports/reservereport.pl @@ -24,6 +24,7 @@ # eg: http://koha.rangitikei.katipo.co.nz/cgi-bin/koha/reports/reservereport.pl?branch=BL use strict; +#use warnings; FIXME - Bug 2505 use C4::Stats; use C4::Dates qw/format_date/; use CGI; @@ -95,7 +96,7 @@ for ( my $i = 0 ; $i < $count ; $i++ ) { # FIXME still need to shift the text to the template so its translateable if ( $data->[$i]) { # find if its on issue - my @items = GetItemsInfo($line{'biblionumber'}, 'intra' ); + my @items = GetItemsInfo( $line{biblionumber} ); my $onissue = 0; foreach my $item (@items) { if ( $item->{'datedue'} eq 'Reserved' ) {