]> git.koha-community.org Git - koha.git/commit
Bug 11693: Default emailing preferences not loaded for self registering patron
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Sun, 5 Jul 2015 11:17:02 +0000 (13:17 +0200)
committerLiz Rea <wizzyrea@gmail.com>
Mon, 10 Aug 2015 21:20:44 +0000 (09:20 +1200)
commit688f95d893aa8d08bf098328cf3527e2a9a83a50
treebdeed57af84aa6c3a570df5ab2223dcb98710047
parente64d9b63a7c6f7af5b8c0ba1a2a663fd255d0535
Bug 11693: Default emailing preferences not loaded for self registering patron

The call to AddMember_Opac does not take care of the messaging prefs
when enhanced messaging is enabled.
This patch adds the call to handle_form_action to do that.

Test plan:
Enable self registering patrons and enhanced messaging.
Check the (default) message prefs for the relevant patron category. At least
enable email for one notice.
Self-register a user with and without verification email enabled.
Check in both cases that the message prefs of the user conform to
those in the patron category. (So at least one enabled.)

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f7ed250d618c57a3fc00728bbb93460b25ceda52)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
opac/opac-memberentry.pl
opac/opac-registration-verify.pl