bugfixes for normal acquisition process. seems to work better.
[koha_fer] / mancredit.pl
index c8bc167..449bfb1 100755 (executable)
@@ -24,6 +24,7 @@
 use strict;
 use C4::Auth;
 use C4::Output;
+use C4::Interface::CGI::Output;
 use CGI;
 use HTML::Template;
 use C4::Search;
@@ -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;
 
 }