@@ -, +, @@ inbound_email_address Bug 22823: Rename method with ->inbound_email_address --- opac/opac-reportproblem.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/opac/opac-reportproblem.pl +++ a/opac/opac-reportproblem.pl @@ -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 { --