]> git.koha-community.org Git - koha.git/commit
Bug 21535: Anonymize function in Patron should not scramble email addresses
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 10 Oct 2018 13:34:22 +0000 (15:34 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 9 May 2019 19:30:06 +0000 (19:30 +0000)
commit2330a155f6d13c37a81632c3088030c89a877401
tree7eff22eac1cbe5f02e6755b74bf1423eb5b42144
parent94c4a268ac098705c2db703512fc0065fed6a42b
Bug 21535: Anonymize function in Patron should not scramble email addresses

Scrambled email addresses will only generate warnings etc.
Clear them although they might be in BorrowerMandatoryField.

Test plan:
Run t/db_dependent/Koha/Patrons.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
t/db_depepended/Koha/Patrons.t runs with no warnings.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Patron.pm
t/db_dependent/Koha/Patrons.t