From 035d58617358be473503d8861359b55922ada9a3 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 22 Jan 2020 14:03:13 +0000 Subject: [PATCH] Bug 24481: Correct permission name in admin/cash_registers.pl The permission name for changed during the implimentation of bug 23321 but one case was missed. This patch corrects that mistake. Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- admin/cash_registers.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/cash_registers.pl b/admin/cash_registers.pl index 3f10ed97bb..56e29a7663 100755 --- a/admin/cash_registers.pl +++ b/admin/cash_registers.pl @@ -37,7 +37,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $cgi, type => 'intranet', authnotrequired => 0, - flagsrequired => { admin => 'edit_cash_registers' }, + flagsrequired => { parameters => 'manage_cash_registers' }, } ); -- 2.39.5