From 3114bc9730aba69872d1307bc737aae22c78c4b3 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 --- 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.30.2