Bug 4461: Use get_effective_email from bug 22823
Use the get_effective_email from Koha::Library to get an appropriate inbound address for the branch as aposed to using branchemail directly. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> 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
fc8f2d261b
commit
282b85ef69
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ if ( $op eq 'addreport' ) {
|
|||
letter => $letter,
|
||||
borrowernumber => $borrowernumber,
|
||||
message_transport_type => $transport,
|
||||
to_address => $library->branchemail,
|
||||
to_address => $library->get_effective_email,
|
||||
reply_address => $reply_address,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue