improving UNIMARC default structure.
[koha_fer] / readingrec.pl
index 2c72f2e..120cfd5 100755 (executable)
@@ -25,6 +25,7 @@
 use strict;
 use C4::Auth;
 use C4::Output;
+use C4::Interface::CGI::Output;
 use CGI;
 use C4::Search;
 use HTML::Template;
@@ -72,7 +73,7 @@ $template->param(title => $data->{'title'},
                                                bornum => $bornum,
                                                limit => $limit,
                                                loop_reading => \@loop_reading);
-print $input->header(-cookie => $cookie),$template->output;
+output_html_with_http_headers $input, $cookie, $template->output;