@@ -, +, @@ --- tools/additional-contents.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/tools/additional-contents.pl +++ a/tools/additional-contents.pl @@ -24,10 +24,10 @@ use Modern::Perl; use CGI qw ( -utf8 ); -use C4::Auth; +use C4::Auth qw(get_template_and_user); use C4::Koha; use C4::Context; -use C4::Output; +use C4::Output qw(output_html_with_http_headers); use C4::Languages qw(getTranslatedLanguages); use Koha::DateUtils; use Koha::AdditionalContents; @@ -226,5 +226,4 @@ $template->param( languages => \@languages, ); - output_html_with_http_headers $cgi, $cookie, $template->output; --