Bug 4461: get_effective_email has been renamed inbound_email_address
On commit 027051c938
Bug 22823: Rename method with ->inbound_email_address
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
3509f9cff8
commit
01c3067a7c
1 changed files with 2 additions and 2 deletions
|
@ -97,13 +97,13 @@ if ( $op eq 'addreport' ) {
|
|||
my $transport = 'email';
|
||||
my $reply_address = $patron->email || $patron->emailpro || $patron->B_email;
|
||||
|
||||
if ( $recipient eq 'library' and defined($library->get_effective_email) and $library->get_effective_email ne C4::Context->preference('KohaAdminEmailAddress') ) {
|
||||
if ( $recipient eq 'library' and defined($library->inbound_email_address) and $library->inbound_email_address ne C4::Context->preference('KohaAdminEmailAddress') ) {
|
||||
# the problem report is intended for a librarian and will be received at a library email address
|
||||
C4::Letters::EnqueueLetter({
|
||||
letter => $letter,
|
||||
borrowernumber => $borrowernumber,
|
||||
message_transport_type => $transport,
|
||||
to_address => $library->get_effective_email,
|
||||
to_address => $library->inbound_email_address,
|
||||
reply_address => $reply_address,
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue