if ($shelfid && $format) {
- my @shelf = GetShelf($shelfid);
my ($items, $totitems) = GetShelfContents($shelfid);
my $marcflavour = C4::Context->preference('marcflavour');
my $output;
} else {
$template->param(invalidlist => 1);
output_html_with_http_headers $query, $cookie, $template->output;
-}
\ No newline at end of file
+}