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