From a7c6fe5c08c5fb7c9fe744515e15d25f71c0484e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 20 Jul 2021 11:26:18 +0000 Subject: [PATCH] Bug 28722: (bug 17600 follow-up) Import haspermission To test: 1 - Go to a bib with items 2 - Check a box next to an item 3 - Click on 'Delete selected items' 4 - Boom! 5 - Apply patch 6 - Restart all and try again 7 - Success --- 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.20.1