Bugzilla – Attachment 65025 Details for
Bug 18775
The "Password Reset" notice should use the patron's homebranch's email as "from" address
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18775: Use Koha::Patron->library instead of Koha::Libraries->find
Bug-18775-Use-KohaPatron-library-instead-of-KohaLi.patch (text/plain), 1001 bytes, created by
Jonathan Druart
on 2017-07-13 19:41:07 UTC
(
hide
)
Description:
Bug 18775: Use Koha::Patron->library instead of Koha::Libraries->find
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-07-13 19:41:07 UTC
Size:
1001 bytes
patch
obsolete
>From b5a56749cbbbc229674c11793bb644325864ad6b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 13 Jul 2017 14:39:08 -0300 >Subject: [PATCH] Bug 18775: Use Koha::Patron->library instead of > Koha::Libraries->find > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > Koha/Patron/Password/Recovery.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Patron/Password/Recovery.pm b/Koha/Patron/Password/Recovery.pm >index a7002336ae..5a352fb25c 100644 >--- a/Koha/Patron/Password/Recovery.pm >+++ b/Koha/Patron/Password/Recovery.pm >@@ -149,7 +149,7 @@ sub SendPasswordRecoveryEmail { > ); > > # define from emails >- my $library = Koha::Libraries->find( $borrower->branchcode ); >+ my $library = $borrower->library; > my $kohaEmail = $library->branchemail || C4::Context->preference('KohaAdminEmailAddress'); # send from patron's branch or Koha Admin > > C4::Letters::EnqueueLetter( >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18775
:
64173
|
64875
|
65024
| 65025