X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=catalogue%2Fdetailprint.pl;h=fe92fe5252f3209b1ee2c7bd449c29cbfe8cfc19;hb=ce046f9a732a74a7b6a5ddca228d2579c08d288d;hp=a69b0463d093ff27bec1b2c1fd02cf3d49e8393c;hpb=034e2c1cbb9adbf64bf02997922bbe247eaf5be3;p=koha.git diff --git a/catalogue/detailprint.pl b/catalogue/detailprint.pl index a69b0463d0..fe92fe5252 100755 --- a/catalogue/detailprint.pl +++ b/catalogue/detailprint.pl @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use C4::Context; use CGI; @@ -34,7 +35,7 @@ my $type = $query->param('type'); my $biblionumber = $query->param('biblionumber'); # change back when ive fixed request.pl -my @items = GetItemsInfo( $biblionumber, $type ); +my @items = GetItemsInfo( $biblionumber ); my $norequests = 1; foreach my $itm (@items) { $norequests = 0 unless $itm->{'notforloan'};