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