From e82096c124591a0e30926f5953f9312f974a9cfe Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 10 Aug 2021 20:54:08 -0300 Subject: [PATCH] Bug 24387: (QA follow-up) Fix method import issues Raised by the QA script, a couple issues carried by pre-17600 patches. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- tools/additional-contents.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/additional-contents.pl b/tools/additional-contents.pl index f84e0d47a2..e4a409cb68 100755 --- a/tools/additional-contents.pl +++ b/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; -- 2.39.2