@@ -, +, @@ Koha::Libraries->find --- Koha/Patron/Password/Recovery.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/Patron/Password/Recovery.pm +++ a/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( --