Fixed up the Print module. Added a function printslip that takes a string as an argum...
[koha_fer] / userpage.pl
index e270fe3..9ecc679 100755 (executable)
@@ -41,4 +41,4 @@ my $template = HTML::Template->new(filename => "$includes/templates/$theme/$temp
 
 $template->param(loggedinuser => $loggedinuser);
 
-print "Content-Type: text/html\n\n", $template->output;
+print $query->header(-cookie => $cookie), $template->output;