Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
[koha.git] / memberentry.pl
index 98660f0..3e532ae 100755 (executable)
@@ -27,7 +27,7 @@ use strict;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
-use C4::Charset;
+use C4::Interface::CGI::Output;
 use CGI;
 use C4::Search;
 use C4::Koha;
@@ -242,10 +242,7 @@ if ($delete){
                        cardnumber      => $cardnumber,
                        dateofbirth     => $data->{'dateofbirth'});
 
-print $input->header(
-    -type => guesstype($template->output),
-    -cookie => $cookie
-),$template->output;
+output_html_with_http_headers $input, $cookie, $template->output;
 
 
 }