diff --git a/opac/opac-serial-issues.pl b/opac/opac-serial-issues.pl index 11928bd12f..5b807ea7b5 100755 --- a/opac/opac-serial-issues.pl +++ b/opac/opac-serial-issues.pl @@ -29,7 +29,6 @@ use C4::Letters; use C4::Output; use C4::Context; - my $query = new CGI; my $op = $query->param('op'); my $dbh = C4::Context->dbh; @@ -73,7 +72,6 @@ if ( $selectview eq "full" ) { my $yearmin = $subscriptions->[0]->{year}; my $yearmax = $subscriptions->[ -1 ]->{year}; - # replace CR by
in librarian note # $subscription->{opacnote} =~ s/\n/\/g; @@ -113,9 +111,12 @@ else { # replace CR by
in librarian note # $subscription->{opacnote} =~ s/\n/\/g; + my $title = $subscriptions->[0]->{bibliotitle}; + $template->param( biblionumber => scalar $query->param('biblionumber'), subscription_LOOP => $subscriptions, + bibliotitle => $title, ); } output_html_with_http_headers $query, $cookie, $template->output;