* bugfixes
[koha.git] / mainpage.pl
index 78c7080..18772f3 100755 (executable)
@@ -12,4 +12,4 @@ my ($loggedinuser, $cookie, $sessionID) = checkauth($query);
 
 my $template = gettemplate("intranet-main.tmpl");
 
-print "Content-Type: text/html\n\n", $template->output;
+print  $query->header(-cookie => $cookie), $template->output;