https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40459 CJ Lynce <cj.lynce@westlakelibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cj.lynce@westlakelibrary.or | |g --- Comment #3 from CJ Lynce <cj.lynce@westlakelibrary.org> --- @Imani: Commenting out the test for preferred_name entirely causes some unexpected behavior if any preferred_names are set and then you change BorrowerUnwantedField to exclude preferred_name. In this case you will no longer be able to edit the preferred_name, and changing the patron's firstname will no change the preferred name, A better solution would be to wrap the test for preferred_name in an if clause based on the $step variable passed from the form. $step = 0 if the full form is being edited. $step = 1 if the Contact Info portion is being edited. Anything else is a partial edit of the form elsewhere. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.