fixing template & javascript bug on almost all plugins
[koha.git] / cataloguing / value_builder / marc21_field_008_authorities.pl
index c5d61b2..d7839cb 100755 (executable)
@@ -142,7 +142,7 @@ my ($template, $loggedinuser, $cookie)
                                                        f39 => $f39,
                                                        "f39$f39" => $f39,
                                        );
-       print $input->header(-cookie => $cookie),$template->output;
+        output_html_with_http_headers $input, $cookie, $template->output;
 }
 
 1;