From 8c7ce470c18a0140617d58798e76c5f1bbac0b4e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 18 Apr 2024 08:50:55 +0200 Subject: [PATCH] Bug 36634: Replace cud-show with show in tools/automatic_item_modification_by_age.pl It's never used in the template anyway but for consistency it would be better to use "show" (it's not CUD) No change expected. Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- tools/automatic_item_modification_by_age.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/automatic_item_modification_by_age.pl b/tools/automatic_item_modification_by_age.pl index 59c37712b2..9015e051e9 100755 --- a/tools/automatic_item_modification_by_age.pl +++ b/tools/automatic_item_modification_by_age.pl @@ -56,7 +56,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( } ); -my $op = $cgi->param('op') // 'cud-show'; +my $op = $cgi->param('op') // 'show'; my $syspref_name = q|automatic_item_modification_by_age_configuration|; if ( $op eq 'cud-update' ) { @@ -96,7 +96,7 @@ if ( $op eq 'cud-update' ) { my $syspref_content = to_json( \@rules ); C4::Context->set_preference($syspref_name, $syspref_content); - $op = 'cud-show'; + $op = 'show'; } my @messages; -- 2.39.5