From 943684e2c0faa29ac84e400810f7b44541a89d0f Mon Sep 17 00:00:00 2001 From: Andrew Fuerste Henry Date: Fri, 7 Mar 2025 14:30:59 +0000 Subject: [PATCH] Bug 36135: (QA follow-up): fix typo in tool permissions The flagsrequired for the new page was incorrectly set to 'batch_modify_holds.tt' --- tools/batch_modify_holds.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/batch_modify_holds.pl b/tools/batch_modify_holds.pl index 9f0da01cae..a5a95948e5 100755 --- a/tools/batch_modify_holds.pl +++ b/tools/batch_modify_holds.pl @@ -23,7 +23,7 @@ use CGI; use JSON qw( to_json ); -use C4::Auth qw( get_template_and_user ); +use C4::Auth qw( get_template_and_user ); use C4::Output qw( output_html_with_http_headers ); use Koha::DateUtils qw( dt_from_string ); @@ -37,7 +37,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'tools/batch_modify_holds.tt', query => $input, type => "intranet", - flagsrequired => { tools => 'batch_modify_holds.tt' }, + flagsrequired => { tools => 'batch_modify_holds' }, } ); -- 2.39.5