From ea57b28d16baa7dfff3f8182c052002d1c1a9096 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 18 Jul 2024 14:04:49 -0400 Subject: [PATCH] Bug 37366: Patron category "Password change in OPAC" setting only follows system preference In Administration > Patron categories, when setting the Password change in OPAC field, Koha will not save "Allowed" or "Not allowed" options, and will only keep "Follow the system preference OPACPasswordChange..." value. Test Plan: 1) Change the Password change in OPAC field 2) Note the change doesn't take affect 3) Apply this patch 4) Change the field again 5) This time is stays! Signed-off-by: Roman Dolny --- admin/categories.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/categories.pl b/admin/categories.pl index c89fce0fba..e91767769b 100755 --- a/admin/categories.pl +++ b/admin/categories.pl @@ -75,7 +75,7 @@ elsif ( $op eq 'cud-add_validate' ) { my $can_place_ill_in_opac = $input->param('can_place_ill_in_opac') // 1; my $default_privacy = $input->param('default_privacy'); my $reset_password = $input->param('reset_password'); - my $change_password = $input->param('cud-change_password'); + my $change_password = $input->param('change_password'); my $exclude_from_local_holds_priority = $input->param('exclude_from_local_holds_priority'); my $min_password_length = $input->param('min_password_length'); my $require_strong_password = $input->param('require_strong_password'); -- 2.39.2