From 07cbb9d85ed21d7124b4da19f75e9c1a3113bf97 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! --- admin/categories.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/categories.pl b/admin/categories.pl index b928b0649cc..410d5e6e239 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.30.2