diff --git a/maninvoice.pl b/maninvoice.pl index 1836fdb5b2..5719c4d7c3 100755 --- a/maninvoice.pl +++ b/maninvoice.pl @@ -24,6 +24,7 @@ use strict; use C4::Auth; use C4::Output; +use C4::Charset; use CGI; use C4::Search; use C4::Accounts2; @@ -53,6 +54,9 @@ if ($add){ debug => 1, }); $template->param(bornum => $bornum); - print $input->header(-cookie => $cookie),$template->output; + print $input->header( + -type => guesstype($template->output), + -cookie => $cookie + ),$template->output; }