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