From 4f3d55e7f077a8345f78d781bf0ebb15cea893c9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2020 10:08:25 +0100 Subject: [PATCH] Bug 22821: Rename method with ->inbound_email_address The method has been renamed in the previous bug report. Signed-off-by: Jonathan Druart --- opac/opac-issue-note.pl | 2 +- opac/svc/checkout_notes | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-issue-note.pl b/opac/opac-issue-note.pl index e24e80024b..3e7f0a1111 100755 --- a/opac/opac-issue-note.pl +++ b/opac/opac-issue-note.pl @@ -81,7 +81,7 @@ if ( $action eq 'issuenote' && C4::Context->preference('AllowCheckoutNotes') ) { }, ); - my $to_address = $branch->get_effective_email; + my $to_address = $branch->inbound_email_address; my $reply_address = $patron->email || $patron->emailpro || $patron->B_email; C4::Letters::EnqueueLetter({ diff --git a/opac/svc/checkout_notes b/opac/svc/checkout_notes index 60adf6dccf..7814953f36 100755 --- a/opac/svc/checkout_notes +++ b/opac/svc/checkout_notes @@ -91,7 +91,7 @@ if ($is_ajax) { }, ); - my $to_address = $branch->get_effective_email; + my $to_address = $branch->inbound_email_address; my $reply_address = $patron->email || $patron->emailpro || $patron->B_email; C4::Letters::EnqueueLetter({ -- 2.20.1