]> git.koha-community.org Git - koha.git/commit
Bug 23634: (QA follow-up) Catch all email cases in API
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 10 Jul 2020 08:38:31 +0000 (09:38 +0100)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 25 Aug 2020 03:49:41 +0000 (05:49 +0200)
commit62a481449ab798183a4e26a208946bcbc5912c31
treeaf9df44b96dacbe4135ae41557dfdcc86fff4ac3
parent5c8844f12d8c39cee287a2527285807ff4af0af1
Bug 23634: (QA follow-up) Catch all email cases in API

The API was only catching the primary email change case, but we need to
catch email, emailpro and B_email.

We were also not accounting for any of the emails (on PUT or from the
DB) being undefined.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
(cherry picked from commit 0a6f3e285ed2e792f1e49dfe85ff82bf12e61ded)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Koha/REST/V1/Patrons.pm