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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 9 Aug 2019 12:08:24 +0000 (14:08 +0200)
commit936f1450b802a6d00e6bf681eb60f3844ff865d0
treea7cb1fd2a69ca7813add9e494ec3542524c1b635
parent1f24fb10af2cf29fa66b9691aeca882c3ce5ca5b
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>
(cherry picked from commit d71b263a89839e3b2f9aa7166dba2657a2aecf14)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-memberentry.pl