fixing template & javascript bug on almost all plugins
[koha.git] / cataloguing / value_builder / unimarc_field_126.pl
index 45aae8a..c37e5cc 100755 (executable)
@@ -85,7 +85,7 @@ my ($template, $loggedinuser, $cookie)
                                                        f3 => $f3,
                                                        "f2$f2" => 1,
                                                        f4 => $f4);
-       print $input->header(-cookie => $cookie),$template->output;
+        output_html_with_http_headers $input, $cookie, $template->output;
 }
 
 1;