diff --git a/circ/article-request-slip.pl b/circ/article-request-slip.pl index f31eac72d0..5ab59576c9 100755 --- a/circ/article-request-slip.pl +++ b/circ/article-request-slip.pl @@ -44,6 +44,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my $ars = Koha::ArticleRequests->search( { id => { '-in' => \@ids } } ); my $slipContent = ''; my $first = 1; +my $style; while ( my $ar = $ars->next ) { if ( !$first ) { $slipContent .= "
"; @@ -71,12 +72,15 @@ while ( my $ar = $ars->next ) { $slip->{is_html} ? $slip->{content} : '
' . $slip->{content} . '
'; + + $style = $slip->{style}; } $template->param( - slip => $slipContent, + slip => $slipContent, caller => 'article-request', plain => 0, + style => $style, ); output_html_with_http_headers $cgi, $cookie, $template->output;