Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
[koha.git] / admin / koha2marclinks.pl
index 070e44b..72d153a 100755 (executable)
@@ -20,7 +20,7 @@
 
 use strict;
 use C4::Output;
-use C4::Charset;
+use C4::Interface::CGI::Output;
 use C4::Auth;
 use CGI;
 use C4::Search;
@@ -135,7 +135,4 @@ if ($op eq 'add_form') {
                                                        );
 } #---- END $OP eq DEFAULT
 
-print $input->header(
-    -type => guesstype($template->output),
-    -cookie => $cookie
-), $template->output;
+output_html_with_http_headers $input, $cookie, $template->output;