Bug 10006 - holding branch is not available to XSLT display
[koha_fer] / installer / InstallAuth.pm
index 0015a14..1a8a4df 100644 (file)
@@ -26,7 +26,6 @@ use Digest::MD5 qw(md5_base64);
 
 require Exporter;
 use C4::Context;
-use C4::Output;
 use C4::Templates;
 use C4::Koha;
 use CGI::Session;
@@ -394,11 +393,9 @@ sub checkauth {
         -HttpOnly => 1,
         -expires => ''
     );
-    print $query->header(
-        -type    => 'text/html; charset=utf-8',
-        -cookie  => $cookie
-      ),
-      $template->output;
+
+    require C4::Output;
+    C4::Output::output_html_with_http_headers($query,$cookie,$template->output);
     exit;
 }