removing warnings
[koha.git] / reports-home.pl
index 602df13..488b7c4 100755 (executable)
@@ -4,6 +4,7 @@ use strict;
 use CGI;
 use C4::Auth;
 use C4::Output;
+use C4::Interface::CGI::Output;
 use C4::Context;
 use HTML::Template;
 
@@ -16,4 +17,4 @@ my ($template, $loggedinuser, $cookie)
                                flagsrequired => {permissions => 1},
                                debug => 1,
                                });
-print $query->header(-cookie => $cookie),$template->output;
+output_html_with_http_headers $query, $cookie, $template->output;