From 6e3143b5358a8700772acc6ab00b1b7177df9004 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 Signed-off-by: Matt Blenkinsop --- admin/categories.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/categories.pl b/admin/categories.pl index 7f98c6c3382..8fdaaf9d766 100755 --- a/admin/categories.pl +++ b/admin/categories.pl @@ -74,7 +74,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.3 (Apple Git-146)