fixing template & javascript bug on almost all plugins
[koha.git] / cataloguing / value_builder / unimarc_field_106.pl
index 3c8724d..174c99a 100755 (executable)
@@ -79,7 +79,7 @@ my ($template, $loggedinuser, $cookie)
        $template->param(index => $index,
                                                        "f1$f1" => $f1
  );
-       print $input->header(-cookie => $cookie),$template->output;
+        output_html_with_http_headers $input, $cookie, $template->output;
 }
 
 1;