]> git.koha-community.org Git - koha.git/commit
Bug 6870 [enh] - allow opac-userupdate.pl to use the patron's email as 'from' address
authorLiz Rea <lrea@nekls.org>
Wed, 14 Sep 2011 19:56:03 +0000 (14:56 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 23 Sep 2011 22:09:14 +0000 (10:09 +1200)
commit0920d96767f1e366670e87b5d4275c5473595d52
tree9cf25b796d25a0289381c895dba75c99f0abe196
parent6b9fff61fb7e96902c8d6afac906285bc1f4bb80
Bug 6870 [enh] - allow opac-userupdate.pl to use the patron's email as 'from' address

Patch makes it so that Koha sends patron update emails from the first valid patron email address, instead of from the KohaAdmin or branch email address.

This patch should make it so that libraries can directly reply to patrons regarding patron updates.

To test:

Create a patron with no email address, do a patron update and observe the to: and from: - they should both be the KohaAdminEmail address.

Add an email address to that same patron, and send a patron update. Observe the to: and from: - the from: should be the first valid email address of the patron, to should be the KohaAdminEmail address.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
opac/opac-userupdate.pl