X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=opac%2Fopac-downloadshelf.pl;h=662eb25bd5b4e5441275129cb474b1215dfa6009;hb=6636d695ff89808bdb1afaf4cd7a61815282c4f9;hp=1057a16713d7eea016599c4872df0ca897c89741;hpb=a118102d4e2d7cf6bc1157a560c52fd6deb6f7a7;p=koha.git diff --git a/opac/opac-downloadshelf.pl b/opac/opac-downloadshelf.pl index 1057a16713..662eb25bd5 100755 --- a/opac/opac-downloadshelf.pl +++ b/opac/opac-downloadshelf.pl @@ -52,7 +52,6 @@ if ( ShelfPossibleAction( (defined($borrowernumber) ? $borrowernumber : -1), $sh if ($shelfid && $format) { - my @shelf = GetShelf($shelfid); my ($items, $totitems) = GetShelfContents($shelfid); my $marcflavour = C4::Context->preference('marcflavour'); my $output; @@ -103,4 +102,4 @@ if ( ShelfPossibleAction( (defined($borrowernumber) ? $borrowernumber : -1), $sh } else { $template->param(invalidlist => 1); output_html_with_http_headers $query, $cookie, $template->output; -} \ No newline at end of file +}