if (!$dat) {
print $query->redirect("/cgi-bin/koha/koha-tmpl/errors/404.pl");
+ exit;
}
#coping with subscriptions
foreach my $itm (@items) {
$norequests = 0 && $norequests
if ( (not $itm->{'wthdrawn'} )
- || (not $itm->{'itemlost'} )
+ || (not $itm->{'itemlost'} )
|| (not $itm->{'itemnotforloan'} )
|| ($itm->{'itemnumber'} ) );
$itm->{ $itm->{'publictype'} } = 1;
MARCURLS => $marcurlsarray,
);
-my @results = ( $dat, );
foreach ( keys %{$dat} ) {
$template->param( "$_" => $dat->{$_} . "" );
}