View | Details | Raw Unified | Return to bug 18775
Collapse All | Expand All

(-)a/Koha/Patron/Password/Recovery.pm (-3 / +3 lines)
Lines 148-155 sub SendPasswordRecoveryEmail { Link Here
148
          { passwordreseturl => $uuidLink, user => $borrower->userid },
148
          { passwordreseturl => $uuidLink, user => $borrower->userid },
149
    );
149
    );
150
150
151
    # define to/from emails
151
    # define from emails
152
    my $kohaEmail = C4::Context->preference('KohaAdminEmailAddress');    # from
152
    my $library = Koha::Libraries->find( $borrower->branchcode );
153
    my $kohaEmail = $library->branchemail || C4::Context->preference('KohaAdminEmailAddress');  # send from patron's branch or Koha Admin
153
154
154
    C4::Letters::EnqueueLetter(
155
    C4::Letters::EnqueueLetter(
155
        {
156
        {
156
- 

Return to bug 18775