fixing template & javascript bug on almost all plugins
[koha.git] / cataloguing / value_builder / unimarc_field_124f.pl
index 5d78095..91e30dc 100755 (executable)
@@ -79,7 +79,7 @@ my ($template, $loggedinuser, $cookie)
        my $f1 = substr($result,0,2);
        $template->param(index => $index,
                         "f1$f1" => 1);
-       print $input->header(-cookie => $cookie),$template->output;
+        output_html_with_http_headers $input, $cookie, $template->output;
 }
 
 1;