Bug 22821: Rename method with ->inbound_email_address
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Mar 2020 09:08:25 +0000 (10:08 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Mar 2020 15:44:27 +0000 (15:44 +0000)
The method has been renamed in the previous bug report.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

opac/opac-issue-note.pl
opac/svc/checkout_notes

index e24e800..3e7f0a1 100755 (executable)
@@ -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({
index 60adf6d..7814953 100755 (executable)
@@ -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({