X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=opac%2Fopac-readingrecord.pl;h=c2cfa403e8a53c542ed62dd16a29dd35d3d78334;hb=93fee65ad3edc61a36c5699490bbcc6441102b65;hp=1db46633e73955d06dfa98d06d6d71f07976510e;hpb=747a71aa67aa29825c211c6f17da77a8e1d127c8;p=koha.git diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl index 1db46633e7..c2cfa403e8 100755 --- a/opac/opac-readingrecord.pl +++ b/opac/opac-readingrecord.pl @@ -8,6 +8,7 @@ use C4::Koha; use C4::Circulation::Circ2; use C4::Search; use HTML::Template; +use C4::Interface::CGI::Output; my $query = new CGI; my ($template, $borrowernumber, $cookie) @@ -51,5 +52,5 @@ $template->param(count => $count); $template->param(READING_RECORD => $issues); -print $query->header(-cookie => $cookie), $template->output; +output_html_with_http_headers $query, $cookie, $template->output;