@@ -, +, @@ --- opac/opac-issue-note.pl | 2 +- opac/svc/checkout_notes | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/opac/opac-issue-note.pl +++ a/opac/opac-issue-note.pl @@ -81,7 +81,7 @@ if ( $action eq 'issuenote' && C4::Context->preference('AllowCheckoutNotes') ) { }, ); - my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->ReplytoDefault || C4::Context->preference('KohaAdminEmailAddress'); + my $to_address = $branch->get_effective_email; my $reply_address = $patron->email || $patron->emailpro || $patron->B_email; C4::Letters::EnqueueLetter({ --- a/opac/svc/checkout_notes +++ a/opac/svc/checkout_notes @@ -91,7 +91,7 @@ if ($is_ajax) { }, ); - my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->preference('ReplytoDefault') || C4::Context->preference('KohaAdminEmailAddress'); + my $to_address = $branch->get_effective_email; my $reply_address = $patron->email || $patron->emailpro || $patron->B_email; C4::Letters::EnqueueLetter({ --