From d77386c916ad6ef5a5e9ae6a8cab717240332e9c Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 31 Mar 2022 23:02:35 +0000 Subject: [PATCH] Bug 30426: Add missing C4::Auth and C4::Output imports This patch adds missing function imports for C4::Auth and C4::Output in the opac/svc/suggestion script. --- opac/svc/suggestion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/svc/suggestion b/opac/svc/suggestion index db08f14bcc..74311b3b0d 100755 --- a/opac/svc/suggestion +++ b/opac/svc/suggestion @@ -53,9 +53,9 @@ Number of suggestions to display. Defaults to 4 in stub mode, 20 otherwise. use Modern::Perl; -use C4::Auth; +use C4::Auth qw( get_template_and_user ); use C4::Context; -use C4::Output; +use C4::Output qw( output_html_with_http_headers ); use CGI qw ( -utf8 ); use JSON; use Koha::SuggestionEngine; -- 2.25.1