Bug 23431: Don't nullify DOB if it's hidden by sysprefs
authorLiz Rea <wizzyrea@gmail.com>
Mon, 5 Aug 2019 22:39:37 +0000 (22:39 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 8 Aug 2019 12:04:25 +0000 (13:04 +0100)
commitd71b263a89839e3b2f9aa7166dba2657a2aecf14
tree3d85d90717692e3a1618da5e828ee7a4c38cd177
parent82a0f5913974155bd79f82cf2075936de7b0c431
Bug 23431: Don't nullify DOB if it's hidden by sysprefs

To test:

Turn on  OPACPatronDetails
put dateofbirth in PatronSelfModificationBorrowerUnwantedField
Have a patron with a set date of birth
Attempt any modification on that patron through the OPAC
The date of birth will be one of the fields changed for that borrower
when you check it in the staff intranet.

Apply this patch, repeat the above.
Date of birth will not be one of the changed fields.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-memberentry.pl