From f0108f4ff70bc351a2129ee670e07c8f79ae023e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 19 Jul 2021 16:39:06 +0200 Subject: [PATCH] Bug 17600: Fix batchMod.pl Undefined subroutine &CGI::Compile::ROOT::kohadevbox_koha_tools_batchMod_2epl::haspermission called at /kohadevbox/koha/tools/batchMod.pl line 89 Signed-off-by: Jonathan Druart --- tools/batchMod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 63e22fc144..c460b2ed8b 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -22,7 +22,7 @@ use CGI qw ( -utf8 ); use Modern::Perl; use Try::Tiny qw( catch try ); -use C4::Auth qw( get_template_and_user ); +use C4::Auth qw( get_template_and_user haspermission ); use C4::Output qw( output_html_with_http_headers ); use C4::Biblio qw( DelBiblio -- 2.39.2